Sami Vaarala
Sami Vaarala
For internals it'd be great if the same module loader could serve both CommonJS and the ES6 modules. Not sure what the impact is here yet.
Not much, it is pending on a revised parser with more state.
RegExp support is at ES5.1 level at present.
@wmhilton You're right, Duktape threads map closely to GeneratorFunctions. The plan forward is to see if Duktape Threads could be made a superset of GeneratorFunctions, and then figure out what...
@wmhilton Hmm, honestly I'd need to experiment a bit to be able to tell what approach works best. Working through GeneratorFunction would make sense from an incremental development point of...
Thanks, I'll check it out.
For comparison this is the Node.js behavior: ``` > 'fooxthey'.replace(/x(?=the)?/g, "0") 'foo0they' > 'fooxthey'.replace(/x(?=thx)?/g, "0") 'foo0they' ``` The root cause of the issue seems to be the quantifier `?` which...
As you probably know, that behavior happens because ECMAScript number type is IEEE double which all arithmetic is based on. With bigints it would be: ``` function test() { var...
Adding this would be easy, the only question really is whether it will be more confusing to support it but with incorrect scoping (this applies to const already though, as...
The diff looks quite good to me at first glance -- feel free to open a PR. I can write some partial feature tests and release documentation as a follow-up...