Results 277 comments of Sami Vaarala

@fatcerberus By the way, note that the ability to save/restore the internal PRNG state does _not_ mean `Math.random()` output could be in effect rewound/restarted. The reason for this is that...

In this sense the Ecmascript randomization API is quite a barebones one. It'd be a pretty useful API to be able to create multiple PRNG sources and control who draws...

Looks useful, that's something I'd also prefer if my application required a controlled PRNG source. It's somewhat unfortunately that Duktape can't easily help with that, at least without introducing custom...

Yeah, `includes()` should be pretty straightforward to implement by tacking it onto the existing duk_bi_array_prototype_indexof_shared() helper.

Duktape doesn't attempt to be ES6 compatible yet, so there are many small deviances to ES6 you're likely to find you're fuzzing against ES6.

The function in the test is actually anonymous (empty name): ``` var NISLParameter0 = function(){}; ``` Duktape doesn't automatically default the name of the function based on the assignment (i.e....

Array methods must work on Array instances but also on any object that is "Array-like". Some functions have a fast path for the Array case and a slow path for...

There seems to be a bug in the evaluation when 'a' is register based. If it's e.g. a global variable the expected result happens. Thanks, I'll check this out.

There seems to be a bug in handling the expression when 'a' is register based. When it is e.g. a global variable the evaluation order is correct. Thanks for reporting,...

I agree the documentation is scattered and could be improved. The main requirements are: - C89 compiler, C99 preferred - A custom allocator, or fall back to malloc(), free(), realloc()...