77. Implement strStr()

Find the first occurrence of substring needle in string haystack. If the substring is not found, return -1.
Example 1
Input: haystack = "sadbutsad", needle = "sad"
Output: 0
Explanation: The substring "sad" starts at index 0.
Example 2
Input: haystack = "devpull", needle = "devops"
Output: -1
Explanation: The substring "bba" does not appear in "devpull".
easystrings
JavaScript
Line 4, Char 2