]> git.kaiwu.me - quickjs.git/commit
Add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` (#264)
authorKasper Isager Dalsgarð <kasperisager@hey.com>
Thu, 9 May 2024 11:07:40 +0000 (13:07 +0200)
committerGitHub <noreply@github.com>
Thu, 9 May 2024 11:07:40 +0000 (13:07 +0200)
commitf3f2f4271785827d1be2ff97363b70b3320ee8cd
treeeec64bf4fb7119315b4211664f6d767a04faace5
parent6f9d05fd2b9de2f132b22518dabf201cea1c4fba
Add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` (#264)

* add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` all accepting `JSValueConst`
* make `js_strict_eq` accept `JSValueConst`, remove uses of this function internally and replace them with
`js_strict_eq2` instead.
quickjs.c
quickjs.h