Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Compare two JavaScript values for equality.
Syntax
STDAPI_(JsErrorCode) JsEquals(
_In_ JsValueRef object1,
_In_ JsValueRef object2,
_Out_ bool *result
);
Parameters
object1
The first object to compare.
object2
The second object to compare.
result
Whether the values are equal.
Return Value
The code JsNoError if the operation succeeded, a failure code otherwise.
Remarks
This function is equivalent to the == operator in Javascript.
Requires an active script context.
Requirements
Header: jsrt.h