array.find and array.includes do not work in JavaScript for App Services
The find() and includes() methods (and maybe more) of Arrays do not work in JavaScript for App Services.
Following code example gives back following error:
var pets = ['cat', 'dog', 'fish'];
log(pets.includes('fish'));
04-03 14:51:56.880 newapp4@dev.t-rust.net JavaScript: Error
TypeError: undefined not callable (property 'includes' of [object Array])
at [anon] (duk_js_call.c:2919) internal
at eval (eval:38) preventsyield