An upstream PR (https://github.com/bellard/quickjs/pull/264) added JS_StrictEq which is nice when you want to compare Value<'_> objects. Right now I think it compares pointers and not the value itself which is annoying when you want say compare String<'_> objects.
Essentially needs to update the submodule and expose the function. Maybe a strict_eq function on Value?
An upstream PR (https://github.com/bellard/quickjs/pull/264) added
JS_StrictEq
which is nice when you want to compareValue<'_>
objects. Right now I think it compares pointers and not the value itself which is annoying when you want say compareString<'_>
objects.Essentially needs to update the submodule and expose the function. Maybe a
strict_eq
function onValue
?