{"json_modified": "2015-04-22T09:42:21.478770", "slug": "Web/JavaScript/Reference/Global_Objects/Collator/compare", "tags": ["Internationalization", "Property", "prototype", "Collator", "JavaScript"], "locale": "ru", "title": "Intl.Collator.prototype.compare", "translations": [{"title": "Intl.Collator.prototype.compare", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Collator/compare", "tags": ["Internationalization", "Property", "prototype", "Collator", "JavaScript"], "summary": "The Intl.Collator.prototype.compare
property returns a getter function that compares two strings according to the sort order of this Collator
object.", "localization_tags": [], "locale": "en-US", "last_edit": "2014-10-21T04:56:20", "review_tags": []}, {"title": "Intl.Collator.prototype.compare", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Collator/compare", "tags": ["Property", "i18n", "Internationalization", "Reference", "Collator", "R\u00e9f\u00e9rence", "prototype", "JavaScript"], "summary": "La propri\u00e9t\u00e9 Intl.Collator.prototype.compare
est un accesseur qui renvoie une fonction qui compare deux cha\u00eenes de caract\u00e8res en tenant compte des options sp\u00e9cifi\u00e9es pour la locale et l'ordre de tri dans l'objet Collator
.", "localization_tags": [], "locale": "fr", "last_edit": "2015-01-21T13:20:33", "review_tags": []}], "modified": "2015-04-22T09:42:16", "label": "Intl.Collator.prototype.compare", "localization_tags": [], "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Collator/compare", "last_edit": "2014-10-21T05:06:19", "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e Intl.Collator.prototype.compare
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e-\u0433\u0435\u0442\u0442\u0435\u0440, \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0449\u0443\u044e \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Collator
.", "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 Collator \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 Intl.Collator.prototype Intl.Collator.prototype.compare \u041c\u0435\u0442\u043e\u0434\u044b Intl.Collator.prototype.resolvedOptions() Intl.Collator.supportedLocalesOf() Related pages: Intl DateTimeFormat NumberFormat \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_compare_for_sort_array", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 compare \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430"}, {"id": "Example:_Using_compare_for_search_in_array", "title": "\u041f\u0440\u0438\u043c\u0435\u0440: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 compare \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435"}, {"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": 129061, "review_tags": []}