Javascript Array methods in Max Msp
I'd like to make use of standard array methods in Javascript. For instance, those in this link: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
It seems Max doesn't recognize these. What can I do so that I can use these methods in javascript?
It does recognize most of those, I think. Max Javascript supports the ES5 standard. I know some of the array methods are newer than es5, like `includes` and `flatMap`, probably others. Which ones were you having trouble with?
See here for some interesting options: https://cycling74.com/forums/any-plans-to-update-support-for-recent-versions-of-js/replies/1#reply-58ed21d5c2991221d9ccad8c