You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to do const stringFromCodePoint = require('string.fromCodePoint'); and not touch any global state.
Rationale: I'm writing a library. It needs to use the "string from codepoint" algorithm, but it shouldn't go around changing globals itself. For instance, the user may be polyfilling String.fromCodePoint themselves, with another implementation, and my library should not overwrite that.
The text was updated successfully, but these errors were encountered:
I'd like to be able to do
const stringFromCodePoint = require('string.fromCodePoint');
and not touch any global state.Rationale: I'm writing a library. It needs to use the "string from codepoint" algorithm, but it shouldn't go around changing globals itself. For instance, the user may be polyfilling
String.fromCodePoint
themselves, with another implementation, and my library should not overwrite that.The text was updated successfully, but these errors were encountered: