{"json_modified": "2016-03-28T08:17:22.182281", "uuid": "b5d68b8a-976d-45c6-9d48-c9cd01458d2e", "title": "JS_CompareStrings", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_CompareStrings", "tags": ["SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2014-12-28T05:16:19", "label": "JS_CompareStrings", "localization_tags": [], "locale": "en-US", "id": 19172, "last_edit": "2014-12-28T05:16:12", "summary": "JS_CompareStrings
compares two JS strings, str1
and str2
. If the strings are identical in content and length, JS_CompareStrings
stores 0
in *result
. If str1
is less than str2
, *result
is less than 0. If str1
is greater than str2
, *result
is greater than 0.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_CompareStrings", "review_tags": []}