Skip to content

Cannot load core-js #29

@ngocdaothanh

Description

@ngocdaothanh

core-js is a popular ES6 polyfill:
https://github.com/zloirock/core-js

For example, it's used in Babel:
https://babeljs.io/docs/en/babel-preset-env

I've used rollup:
https://github.com/ngocdaothanh/one-core-js

To merge all ES6 polyfill files:
https://github.com/zloirock/core-js/blob/master/packages/core-js/es/index.js

Into this one file:
https://github.com/ngocdaothanh/one-core-js/blob/master/es6polyfills.js

When esper.js loads that file, there's error:
Cant index propertyIsEnumerable of undefined

The error is thrown from here:
https://github.com/codecombat/esper.js/blob/master/src/Evaluator.js#L406

Would you please investigate and fix the error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions