{"json_modified": "2016-09-28T03:57:41.021235", "uuid": "8c11dc26-3e93-4cac-a94e-001ed8a25d7e", "title": "String.prototype.localeCompare()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "Prototype", "JavaScript", "Method"], "translations": [{"uuid": "0138b123-e196-489c-9f87-19da1dddb8f8", "title": "String.prototype.localeCompare()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/localeCompare", "tags": ["String", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Internationalisation", "M\u00e9thode"], "summary": "La m\u00e9thode localeCompare() renvoie un nombre indiquant si la cha\u00eene de caract\u00e8res courante se situe avant, apr\u00e8s ou est la m\u00eame que la cha\u00eene pass\u00e9e en param\u00e8tre, selon l'ordre lexicographique.", "localization_tags": [], "locale": "fr", "last_edit": "2016-09-28T03:57:29", "review_tags": []}, {"uuid": "24c166ef-d01b-486b-a5fa-2f1d8a375494", "title": "String.prototype.localeCompare()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Method"], "summary": "localeCompare() \u30e1\u30bd\u30c3\u30c9\u306f\u53c2\u7167\u6587\u5b57\u5217\u304c\u30bd\u30fc\u30c8\u9806\u3067\u5f15\u6570\u3067\u4e0e\u3048\u3089\u308c\u305f\u6587\u5b57\u5217\u3068\u5927\u306a\u308a\u3001\u5c0f\u306a\u308a\u3001\u7b49\u3057\u3044\u3068\u306a\u308b\u304b\u3069\u3046\u304b\u3092\u793a\u3059\u6570\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T10:28:00", "review_tags": ["editorial"]}, {"uuid": "c0d37cd6-1dc2-4702-a7ff-a96b5c168cb7", "title": "String.prototype.localeCompare()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 localeCompare() \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0447\u0438\u0441\u043b\u043e, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0435, \u0434\u043e\u043b\u0436\u043d\u0430 \u043b\u0438 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e, \u043f\u043e\u0441\u043b\u0435 \u0438\u043b\u0438 \u0432 \u0442\u043e\u043c \u0436\u0435 \u0441\u0430\u043c\u043e\u043c \u043c\u0435\u0441\u0442\u0435, \u0447\u0442\u043e \u0438 \u0441\u0442\u0440\u043e\u043a\u0430, \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u0430\u044f \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u043f\u0440\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0435 \u044d\u0442\u0438\u0445 \u0441\u0442\u0440\u043e\u043a.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-19T01:21:12", "review_tags": []}, {"uuid": "9dbcfe3e-5cb5-484d-baff-58495b7148c2", "title": "String.prototype.localeCompare()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["Internationalization", "\u53c2\u8003", "\u5b57\u7b26\u4e32", "\u65b9\u6cd5", "JavaScript", "\u539f\u578b"], "summary": "localeCompare() \u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u6570\u5b57\u6765\u8868\u660e\u8c03\u7528\u8be5\u51fd\u6570\u7684\u5b57\u7b26\u4e32\uff08reference string\uff09\u7684\u6392\u5217\u987a\u5e8f\u662f\u5426\u5728\u67d0\u4e2a\u7ed9\u5b9a\u7684\u5b57\u7b26\u4e32\u7684\u524d\u9762\u6216\u8005\u540e\u9762\uff0c\u6216\u8005\u662f\u4e00\u6837\u7684\uff08\u7f16\u7801\u4e2d\u7684\u4f4d\u7f6e\uff09\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-03-01T16:06:01", "review_tags": []}], "modified": "2016-09-27T19:07:22", "label": "String.prototype.localeCompare()", "localization_tags": [], "locale": "en-US", "id": 8271, "last_edit": "2016-09-27T19:07:12", "summary": "The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_localeCompare()", "title": "Using "}, {"id": "Check_browser_support_for_extended_arguments", "title": "Check browser support for extended arguments"}, {"id": "Using_locales", "title": "Using "}, {"id": "Using_options", "title": "Using "}, {"id": "Performance", "title": "Performance"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/String/localeCompare", "review_tags": []}