Javascript in script snap - ES6

Does the script snap support ES6? I am having trouble with using find method on arrays.

please give syntax of your expression.

array.find(x=>x.==) will get the first find of the match.

Does the script snap support ES6 features?