{"json_modified": "2016-10-19T04:15:47.441177", "uuid": "a801fabb-a064-4645-99a9-f3bfe321b56a", "title": "Array.observe()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": ["Obsolete", "Array", "Method", "JavaScript"], "translations": [{"uuid": "b52c5cd7-28c0-4c0a-8db0-24045a475eb4", "title": "Array.observe()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Array/observe", "tags": [], "summary": "El m\u00e8tode Array.observe()
s'utilitza per observar canvis en Arrays de forma as\u00edncrona, de forma similar a que Object.observe()
ho fa en objectes. Proporciona una corrent de canvis en l'ordre d'aparici\u00f3. Es equivalent a la crida de Object.observe()
amb la llista de tipus acceptar [\"add\", \"update\", \"delete\", \"splice\"]
.", "localization_tags": [], "locale": "ca", "last_edit": "2015-09-27T09:05:14", "review_tags": ["editorial"]}, {"uuid": "11c4601b-ffcb-4204-adda-6d577d33fddf", "title": "Array.observe()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": ["Obsolete", "Array", "Methode", "JavaScript"], "summary": "Die Array.observe()
Methode wurde f\u00fcr das asyncrone beobachten der Ver\u00e4nderung von Arrays benutzt, \u00e4hnlich wie Object.observe()
f\u00fcr Objekte. Sie stellt einen stream von \u00c4nderungen in der Reihenfolge in dennen sie auftretten zur Verf\u00fcgung.
\n Equivalent zu\u00a0 Object.observe()
und wird ausgef\u00fchrt mit der liste [\"add\", \"update\", \"delete\", \"splice\"]
. Diese Funktion wurde als deprecated markiert und aus dem Browser entfernt. Man kann stattdessen das algemeinere Proxy
Objekt benutzen.", "localization_tags": [], "locale": "de", "last_edit": "2016-04-26T22:28:24", "review_tags": []}, {"uuid": "a6e0efea-f9ba-4373-8856-dbf7b8374268", "title": "Array.observe()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Array/observe", "tags": ["Vector", "M\u00e9todo"], "summary": "El m\u00e9todo\u00a0Array.observe()
\u00a0se utiliza para poder observar en forma asincr\u00f3nica los cambios ocurridos en un vector, similar a\u00a0Object.observe()
para los objetos. Provee un flujo ordenado por orden de ocurrencia de\u00a0los cambios ocurridos en el vector. Es equivalente a invocar\u00a0Object.observe()
\u00a0con la lista de tipos aceptados:\u00a0[\"add\", \"update\", \"delete\", \"splice\"]
.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-08-20T14:18:02", "review_tags": []}, {"uuid": "e829530a-99ce-45c6-b412-cf544bc89e36", "title": "Array.observe()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/observe", "tags": ["R\u00e9f\u00e9rence", "Array", "M\u00e9thode", "Obsol\u00e8te", "JavaScript"], "summary": "La m\u00e9thode Array.observe()
est utilis\u00e9e afin d'observer les modifications apport\u00e9es \u00e0 un tableau de fa\u00e7on asynchrone. Elle fonctionne de la m\u00eame fa\u00e7on que la m\u00e9thode Object.observe()
pour les objets. Cette m\u00e9thode fournit un flux de changements, tri\u00e9s dans l'ordre dans lequel ils se sont produits. Utiliser cette m\u00e9thode est \u00e9quivalent \u00e0 appeler Object.observe()
avec la liste [\"add\", \"update\", \"delete\", \"splice\"]
comme troisi\u00e8me argument. Toutefois, cette API a \u00e9t\u00e9 d\u00e9pr\u00e9ci\u00e9e et retir\u00e9e des navigateurs. Il est pr\u00e9f\u00e9rable d'utiliser l'objet Proxy
, plus g\u00e9n\u00e9rique, \u00e0 la place.", "localization_tags": [], "locale": "fr", "last_edit": "2016-10-19T04:15:38", "review_tags": []}, {"uuid": "d4187de4-00ce-4724-8de7-ca028496d017", "title": "Array.observe()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": ["Obsolete", "Array", "Method", "JavaScript"], "summary": "Array.observe()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u914d\u5217\u3078\u306e\u5909\u66f4\u3092\u975e\u540c\u671f\u3067\u76e3\u8996\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3057\u305f\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7528\u306e Object.observe()
\u3068\u4f3c\u3066\u3044\u307e\u3059\u3002\u5909\u66f4\u5185\u5bb9\u306f\u3001\u767a\u751f\u3057\u305f\u9806\u756a\u306b\u6642\u7cfb\u5217\u3067\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002accept type list [\"add\", \"update\", \"delete\", \"splice\"]
\u3067\u547c\u3073\u51fa\u3055\u308c\u305f Object.observe()
\u3068\u540c\u7b49\u3067\u3059\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u306e API \u306e\u4f7f\u7528\u306f\u975e\u63a8\u5968\u3068\u306a\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u524a\u9664\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4ee3\u308f\u308a\u306b\u3001\u4e00\u822c\u7684\u306a Proxy
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-07-28T21:36:47", "review_tags": []}, {"uuid": "e7044b9f-d911-4886-8721-da0827e7a4ab", "title": "Array.observe()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": [], "summary": "O m\u00e9todo Array.observe()
\u00a0\u00e9 usado para observar mudan\u00e7as de forma ass\u00edncrona em\u00a0Arrays, de forma similar ao m\u00e9todo\u00a0Object.observe()
para objetos. O m\u00e9todo fornece um conjunto de mudan\u00e7as em ordem de ocorr\u00eancia. \u00c9 equivalente ao m\u00e9todo Object.observe()
\u00a0invocado com a lista aceita\u00a0[\"add\", \"update\", \"delete\", \"splice\"]
.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-04-04T05:37:39", "review_tags": []}, {"uuid": "5531de7c-71fe-4127-a18a-37e3d371f269", "title": "Array.observe()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": ["Reference", "Experimental", "R\u00e9f\u00e9rence", "Array", "Exp\u00e9rimental", "JavaScript", "ECMAScript7", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 Array.observe()
\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0437\u043e\u0440\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430\u0445, \u043f\u043e\u0434\u043e\u0431\u043d\u043e \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 Object.observe()
\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u0435\u0445 \u0436\u0435 \u0446\u0435\u043b\u0435\u0439 \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041e\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0438\u0445 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u0438\u044f.", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-29T04:08:01", "review_tags": []}, {"uuid": "68cdcb69-9cfa-47bf-9aa4-4ad29d05f5ba", "title": "Array.observe()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/observe", "tags": ["\u5b9e\u9a8c\u6027", "\u8fc7\u65f6\u7684", "\u6570\u7ec4", "\u65b9\u6cd5", "JavaScript"], "summary": "Array.observe() \u65b9\u6cd5\u7528\u4e8e\u5f02\u6b65\u76d1\u89c6\u6570\u7ec4\u53d1\u751f\u7684\u53d8\u5316\uff0c\u7c7b\u4f3c\u4e8e\u9488\u5bf9\u5bf9\u8c61\u7684 Object.observe()
\u3002\u5f53\u6570\u7ec4\u7684\u503c\u53d1\u751f\u53d8\u5316\u65f6\uff0c\u5b83\u6309\u53d1\u751f\u987a\u5e8f\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53d8\u5316\u6d41\u3002\u4e0e Object.observe()
\u7c7b\u4f3c\uff0c\u5b83\u7531\u5982\u4e0b\u53ef\u63a5\u53d7\u7684\u53d8\u5316\u7c7b\u578b\u5217\u8868[\"add\"\u3001\"update\"\u3001\"delete\"\u3001\"splice\"]
\u89e6\u53d1\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-10-18T08:20:35", "review_tags": []}], "modified": "2016-10-18T08:18:53", "label": "Array.observe()", "localization_tags": [], "locale": "en-US", "id": 131133, "last_edit": "2016-10-18T08:18:48", "summary": "The Array.observe()
method was used for asynchronously observing changes to Arrays, similar to Object.observe()
for objects. It provided a stream of changes in order of occurrence. It's equivalent to Object.observe()
invoked with the accept type list [\"add\", \"update\", \"delete\", \"splice\"]
. However, this API has been deprecated and removed from Browsers. You can use the more general Proxy
object instead.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Logging_different_change_types", "title": "Logging different change types"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Array/observe", "review_tags": []}