Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Reflect.ownKeys is not a function #4

Open
Eeems opened this issue Dec 2, 2017 · 1 comment
Open

TypeError: Reflect.ownKeys is not a function #4

Eeems opened this issue Dec 2, 2017 · 1 comment

Comments

@Eeems
Copy link

Eeems commented Dec 2, 2017

If you call Profiler.output() before any data has been created you will get the following error:

> Profiler.output()
[21:27:58]TypeError: Reflect.ownKeys is not a function
    at outputProfilerData:217:26
    at Object.output:112:13
    at _console1512188878295_0:1:15718
    at eval:3:4
    at Object.r.runCode:2:144145
@0x000def42
Copy link

Somewhere I noticed that screeps works on the 8 node, I believe, then Reflect did not have the ownKeys method, you can use a polyfile.
https://github.com/ungap/own-keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants