Skip to content Skip to sidebar Skip to footer

Typeerror: Cannot Find Function Find In Object

This is frustrating. I thought the problem was the object being returned by the api response. Maybe it's in string so what I did was I copied the response from 'postman' and paste

Solution 1:

I see you added a polyfill to solve the problem, but the answer to your question is that NetSuite/SuiteScript uses ECMAScript 5.1; its engine is Java Rhino (unsure which version).

find was added in ES6, while reduce was added in ES5.1, so SuiteScript does not support find while it does support reduce.

Sources:

Post a Comment for "Typeerror: Cannot Find Function Find In Object"