{"json_modified": "2016-09-10T20:31:50.493404", "uuid": "df4a6ccf-ced6-4948-bbb2-337cb7bf878b", "title": "Atomics.add()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/add", "tags": ["Shared Memory", "Experimental", "Atomics", "Method", "JavaScript"], "translations": [{"uuid": "e256ec7e-e57f-45b8-8891-1412953a5567", "title": "Atomics.add()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Atomics/add", "tags": ["M\u00e9moire partag\u00e9e", "M\u00e9thode", "Atomics", "Exp\u00e9rimental", "JavaScript"], "summary": "La m\u00e9thode statique Atomics
.add()
ajoute une valeur donn\u00e9e \u00e0 un \u00e9l\u00e9ment du tableau \u00e0 une position donn\u00e9e. Elle renvoie l'ancienne valeur qui \u00e9tait contenue \u00e0 cet emplacement. Cette op\u00e9ration atomique garantit qu'aucune autre op\u00e9ration d'\u00e9criture n'est appliqu\u00e9e tant que la valeur modifi\u00e9e n'est pas \u00e9crite.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-30T08:13:59", "review_tags": []}, {"uuid": "647bfa7b-d281-4719-a810-b0fc9b10d54e", "title": "Atomics.add()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Atomics/add", "tags": ["Shared Memory", "Experimental", "Atomics", "Method", "JavaScript"], "summary": "\u9759\u7684\u306a Atomics
.add()
\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u914d\u5217\u5185\u306e\u6307\u5b9a\u3057\u305f\u4f4d\u7f6e\u306b\u5024\u3092\u8ffd\u52a0\u3057\u3066\u3001\u305d\u306e\u5834\u6240\u306e\u53e4\u3044\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e atomic \u64cd\u4f5c\u306f\u3001\u4fee\u6b63\u3055\u308c\u305f\u5024\u304c\u66f8\u304d\u623b\u3055\u308c\u308b\u307e\u3067\u3001\u4ed6\u306e\u66f8\u304d\u8fbc\u307f\u304c\u8d77\u3053\u3089\u306a\u3044\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-09-10T20:31:43", "review_tags": ["editorial"]}], "modified": "2016-04-04T12:30:41", "label": "Atomics.add()", "localization_tags": [], "locale": "en-US", "id": 173475, "last_edit": "2016-01-28T11:35:05", "summary": "The static Atomics
.add()
method adds a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Exceptions", "title": "Exceptions"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Atomics/add", "review_tags": []}