Missing Object.flat()

ERRO[0387] TypeError: Object has no member ‘flat’ at file:///-:433:53(23)

For others looking here is a link to the embedded JS engine which answers a lot of questions: https://github.com/dop251/goja

1 Like

By default, we rely on Babel and core.js to have support for ES6+ things that goja can’t natively support. Unfortunately, in this case, array.flat() seems to be too new for our version of core.js.