{"json_modified": "2015-07-30T10:42:09.075757", "slug": "Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": [], "locale": "pt-BR", "title": "Function.prototype.bind()", "translations": [{"title": "Function.prototype.bind()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": ["ECMAScript5", "polyfill", "Function", "Method", "JavaScript"], "summary": "The <code><strong>bind()</strong></code> method creates a new function that, when called, has its <code>this</code> keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-07T03:32:46", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": [], "summary": "<span style=\"font-family: courier new,andale mono,monospace; line-height: 1.5;\">bind()</span>\u65b9\u6cd5\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u51fd\u6570,\u79f0\u4e3a\u7ed1\u5b9a\u51fd\u6570.\u5f53\u8c03\u7528\u8fd9\u4e2a\u7ed1\u5b9a\u51fd\u6570\u65f6,\u7ed1\u5b9a\u51fd\u6570\u4f1a\u4ee5\u521b\u5efa\u5b83\u65f6\u4f20\u5165\u00a0<span style=\"font-family: courier new,andale mono,monospace;\">bind()</span>\u65b9\u6cd5\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\u4f5c\u4e3a\u00a0<span style=\"font-family: courier new,andale mono,monospace;\">this</span>,\u4f20\u5165\u00a0<span style=\"font-family: courier new,andale mono,monospace;\">bind()\u00a0</span>\u65b9\u6cd5\u7684\u7b2c\u4e8c\u4e2a\u4ee5\u53ca\u4ee5\u540e\u7684\u53c2\u6570\u52a0\u4e0a\u7ed1\u5b9a\u51fd\u6570\u8fd0\u884c\u65f6\u672c\u8eab\u7684\u53c2\u6570\u6309\u7167\u987a\u5e8f\u4f5c\u4e3a\u539f\u51fd\u6570\u7684\u53c2\u6570\u6765\u8c03\u7528\u539f\u51fd\u6570.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-05-17T21:53:59", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": ["ECMAScript5", "Function", "Method", "JavaScript"], "summary": "<code><strong>bind()</strong></code> \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u547c\u3073\u51fa\u3055\u308c\u305f\u6642\u306b\u65b0\u3057\u3044\u95a2\u6570\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u6700\u521d\u306e\u5f15\u6570 <code>thisArg</code> \u306f\u65b0\u3057\u3044\u95a2\u6570\u306e <code>this</code> \u30ad\u30fc\u30ef\u30fc\u30c9\u306b\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059\u30022 \u500b\u76ee\u4ee5\u964d\u306e\u5f15\u6570\u306f\u3001\u65b0\u3057\u3044\u95a2\u6570\u3088\u308a\u524d\u306b\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u95a2\u6570\u306e\u5f15\u6570\u3068\u3057\u3066\u4e0e\u3048\u3089\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2014-06-20T09:55:14", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Function/bind", "tags": ["ECMAScript5", "polyfill", "Reference", "R\u00e9f\u00e9rence", "JavaScript", "Method", "Function"], "summary": "La fonction<code><strong> bind()</strong></code> cr\u00e9e une nouvelle fonction qui, lorsqu'elle est appel\u00e9e, a pour contexte <code>this</code> la valeur pass\u00e9e en param\u00e8tre et \u00e9ventuellement une suite d'arguments qui pr\u00e9c\u00e9deront ceux fournis \u00e0 l'appel de la fonction cr\u00e9\u00e9e.", "localization_tags": [], "locale": "fr", "last_edit": "2015-07-29T08:06:19", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": ["ECMAScript5", "polyfill", "Reference", "R\u00e9f\u00e9rence", "JavaScript", "Method", "Function"], "summary": "\u041c\u0435\u0442\u043e\u0434 <code><strong>bind()</strong></code> \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code>this</code> \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u0412 \u043c\u0435\u0442\u043e\u0434 \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0431\u043e\u0440 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u043f\u0440\u0438 \u0435\u0451 \u0432\u044b\u0437\u043e\u0432\u0435.", "localization_tags": [], "locale": "ru", "last_edit": "2015-04-20T07:55:19", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Function/bind", "tags": [], "summary": "El m\u00e9todo\u00a0<code><strong>bind()</strong></code>\u00a0crea una nueva funci\u00f3n, que cuando es llamada, tiene el operador \u00a0<em>this</em>\u00a0para establecer la funci\u00f3n de enlace y\u00a0una secuencia de argumentos que le ser\u00e1n enviados.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-02-11T14:14:26", "review_tags": []}, {"title": "Function.prototype.bind()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "tags": [], "summary": "Die <strong><code>bind()</code></strong> Methode erzeugt eine neue Funktion die beim Aufruf ihr <code>this</code> Schl\u00fcsselwort auf den ersten \u00fcbergebenen Wert setzt. Alle weiteren Argumente werden den beim Funktionsaufruf \u00fcbergebenen Werten vorangestellt.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-07-13T01:25:41", "review_tags": []}], "modified": "2015-07-30T10:42:07", "label": "Function.prototype.bind()", "localization_tags": ["inprogress"], "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Function/bind", "last_edit": "2015-07-30T10:41:59", "summary": "O metodos\u00a0<code><strong>bind()</strong></code>\u00a0criar uma nova\u00a0fun\u00e7\u00e3o\u00a0that, when called, has its <code>this</code> keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Creating_a_bound_function", "title": "Creating a bound function"}, {"id": "Partial_Functions", "title": "Partial Functions"}, {"id": "With_setTimeout", "title": "With "}, {"id": "Bound_functions_used_as_constructors", "title": "Bound functions used as constructors"}, {"id": "Creating_shortcuts", "title": "Creating shortcuts"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 158751, "review_tags": []}