-
Notifications
You must be signed in to change notification settings - Fork 354
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
new Date(number) throws TypeError: Bind must be called on a function #223
Comments
Can't recreate. My steps:
Actual result: What steps are you using to get this error? |
Just install |
Got it. This bug was previously raised and fixed in #218. Looks like the js-interpreter package you are using needs to be updated. Not sure whom to ping regarding that. |
The npm package seems abandoned :( https://www.npmjs.com/package/js-interpreter It is downloaded 3100 times a week. You don't want to publish your project on npm? |
@jer-sen @NeilFraser I have updated the package, sorry if this has been misleading, but the NPM package points to my repo which has this one as a submodule and publishes the package from there, I'll keep an eye on issues here in case the package related requests come up here. |
Hello,
When calling
new Date(1234)
I get this error:TypeError: Bind must be called on a function
I would expect just to get a
Date
withvalueOf
returning1234
.The text was updated successfully, but these errors were encountered: