{"json_modified": "2016-03-01T16:06:40.726696", "slug": "Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["Javascript", "Internationalization", "\u53c2\u8003", "javascript", "\u5b57\u7b26\u4e32", "\u65b9\u6cd5", "JavaScript", "\u539f\u578b"], "locale": "zh-CN", "title": "String.prototype.localeCompare()", "translations": [{"title": "String.prototype.localeCompare()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "prototype", "Internationalization", "Reference", "Prototype", "JavaScript", "Method"], "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.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-04T08:04:53", "review_tags": []}, {"title": "String.prototype.localeCompare()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/localeCompare", "tags": ["String", "prototype", "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-01-06T11:30:45", "review_tags": []}, {"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": []}, {"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"]}], "modified": "2016-03-01T16:06:07", "label": "String.prototype.localeCompare()", "localization_tags": ["inprogress"], "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "last_edit": "2016-03-01T16:06:01", "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", "sections": [{"id": "Quick_Links", "title": null}, {"id": "\u8bed\u6cd5", "title": "\u8bed\u6cd5"}, {"id": "\u53c2\u6570", "title": "\u53c2\u6570"}, {"id": "\u63cf\u8ff0", "title": "\u63cf\u8ff0"}, {"id": "\u793a\u4f8b", "title": "\u793a\u4f8b"}, {"id": "\u4f7f\u7528_localeCompare()", "title": "\u4f7f\u7528 "}, {"id": "\u68c0\u67e5\u6d4f\u89c8\u5668\u5bf9\u6269\u5c55\u53c2\u6570\u7684\u652f\u6301", "title": "\u68c0\u67e5\u6d4f\u89c8\u5668\u5bf9\u6269\u5c55\u53c2\u6570\u7684\u652f\u6301"}, {"id": "\u4f7f\u7528_locales_\u53c2\u6570", "title": "\u4f7f\u7528 "}, {"id": "\u4f7f\u7528_options_\u53c2\u6570", "title": "\u4f7f\u7528 "}, {"id": "\u6027\u80fd\u76f8\u5173", "title": "\u6027\u80fd\u76f8\u5173"}, {"id": "\u89c4\u8303", "title": "\u89c4\u8303"}, {"id": "\u6d4f\u89c8\u5668\u652f\u6301", "title": "\u6d4f\u89c8\u5668\u652f\u6301"}, {"id": "\u76f8\u5173\u94fe\u63a5", "title": "\u76f8\u5173\u94fe\u63a5"}], "id": 168431, "review_tags": []}