{"json_modified": "2015-04-22T10:07:51.872328", "slug": "Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "locale": "ru", "title": "String.prototype.localeCompare()", "translations": [{"title": "String.prototype.localeCompare()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "R\u00e9f\u00e9rence", "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": "2014-11-18T22:24:51", "review_tags": []}, {"title": "String.prototype.localeCompare()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/localeCompare", "tags": ["String", "Internationalization", "Reference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Method"], "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": "2015-02-10T04:12:50", "review_tags": []}], "modified": "2015-04-22T10:07:49", "label": "String.prototype.localeCompare()", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare", "last_edit": "2014-11-19T01:21:12", "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.", "sections": [{"id": "Quick_Links", "title": "\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b String \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 String.length String.prototype \u041c\u0435\u0442\u043e\u0434\u044b String.fromCharCode() String.fromCodePoint() String.prototype.anchor() String.prototype.big() String.prototype.blink() String.prototype.bold() String.prototype.charAt() String.prototype.charCodeAt() String.prototype.codePointAt() String.prototype.concat() String.prototype.endsWith() String.prototype.fixed() String.prototype.fontcolor() String.prototype.fontsize() String.prototype.includes() String.prototype.indexOf() String.prototype.italics() String.prototype.lastIndexOf() String.prototype.link() String.prototype.localeCompare() String.prototype.match() String.prototype.normalize() String.prototype.quote() String.prototype.repeat() String.prototype.replace() String.prototype.search() String.prototype.slice() String.prototype.small() String.prototype.split() String.prototype.startsWith() String.prototype.strike() String.prototype.sub() String.prototype.substr() String.prototype.substring() String.prototype.sup() String.prototype.toLocaleLowerCase() String.prototype.toLocaleUpperCase() String.prototype.toLowerCase() String.prototype.toSource() String.prototype.toString() String.prototype.toUpperCase() String.prototype.trim() String.prototype.trimLeft() String.prototype.trimRight() String.prototype.valueOf() String.prototype[@@iterator]() String.raw() \u0423\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0435 Function \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Function.arguments Function.arity Function.caller Function.displayName Function.length Function.name Function.prototype \u041c\u0435\u0442\u043e\u0434\u044b Function.prototype.apply() Function.prototype.bind() Function.prototype.call() Function.prototype.isGenerator() Function.prototype.toSource() Function.prototype.toString() Object \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Object.prototype.__count__ Object.prototype.__noSuchMethod__ Object.prototype.__parent__ Object.prototype.__proto__ Object.prototype.constructor \u041c\u0435\u0442\u043e\u0434\u044b Object.prototype.__defineGetter__() Object.prototype.__defineSetter__() Object.prototype.__lookupGetter__() Object.prototype.__lookupSetter__() Object.prototype.hasOwnProperty() Object.prototype.isPrototypeOf() Object.prototype.propertyIsEnumerable() Object.prototype.toLocaleString() Object.prototype.toSource() Object.prototype.toString() Object.prototype.unwatch() Object.prototype.valueOf() Object.prototype.watch()"}, {"id": "Summary", "title": "\u0421\u0432\u043e\u0434\u043a\u0430"}, {"id": "Syntax", "title": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441"}, {"id": "Parameters", "title": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b"}, {"id": "Description", "title": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"}, {"id": "Examples", "title": "\u041f\u0440\u0438\u043c\u0435\u0440\u044b"}, {"id": "Example:_Using_localeCompare", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 localeCompare()"}, {"id": "Example:_Checking_for_support_for_locales_and_options_arguments", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 locales \u0438 options"}, {"id": "Example:_Using_locales", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 locales"}, {"id": "Example:_Using_options", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 options"}, {"id": "Performance", "title": "\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c"}, {"id": "Specifications", "title": "\u0421\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"}, {"id": "Browser_compatibility", "title": "\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438"}, {"id": "See_also", "title": "\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435"}], "id": 130529, "review_tags": []}