DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
431 stars 58 forks source link

Add equality check with new JS_StrictEq #316

Open Sytten opened 1 month ago

Sytten commented 1 month ago

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?