Create 2-AB-Check.js

Second task for course apply:

You have the implement the function ABCheck(str).

Take the str parameter being passed and return true if the characters a and b *are separated by exactly 3
 places anywhere in the string at least once.*
(ie. "lane borrowed" would result in true because there is exactly three characters between a and b). Otherwise return false.
You can use any language you know.