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
illegal invocation #3439
Comments
No, in the browser it is not a free static function, but needs to be bound to // works in the browser — does not work in Nodejs
times(crypto.randomUUID.bind(crypto), 5); Funnily enough, in Nodejs You'll get another error message
It's still an awful mess trying to write isomorphic JavaScript. (Mostly the messy browser apis imo) Btw. same issues with 😵💫 Supplement: Who decides that stuff anyway, and why? It's massively annoying for FP: there seems to be no scheme. |
Thanks for the detailed answer, I was not aware of a |
A "method for the All I know is that in C++ one calls functions which are provided by objects and operate on their (private) data "methods". In JS that would apply to functions which use |
ty for the explanation @semmel |
Why doesn't it work? Isn't randomUUID a function?
repro
The text was updated successfully, but these errors were encountered: