diff --git a/ReactCommon/jsi/jsi/jsi.h b/ReactCommon/jsi/jsi/jsi.h index f6c17e5bb67..67149a80b10 100644 --- a/ReactCommon/jsi/jsi/jsi.h +++ b/ReactCommon/jsi/jsi/jsi.h @@ -995,8 +995,8 @@ class JSI_EXPORT Value { return runtime.createValueFromJsonUtf8(json, length); } - /// \return according to the SameValue algorithm see more here: - // https://www.ecma-international.org/ecma-262/5.1/#sec-11.9.4 + /// \return according to the Strict Equality Comparison algorithm, see: + /// https://262.ecma-international.org/11.0/#sec-strict-equality-comparison static bool strictEquals(Runtime& runtime, const Value& a, const Value& b); Value& operator=(Value&& other) {