{"json_modified": "2016-04-04T12:34:31.061459", "uuid": "2f1e8b3d-f634-403d-a626-8d635c83de8e", "title": "Atomics.xor()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/xor", "tags": ["Shared Memory", "Experimental", "Atomics", "Method", "JavaScript"], "translations": [{"uuid": "bf25a81d-14ef-4dd2-b23b-7a92130b0916", "title": "Atomics.xor()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Atomics/xor", "tags": ["M\u00e9moire partag\u00e9e", "M\u00e9thode", "Atomics", "Exp\u00e9rimental", "JavaScript"], "summary": "La m\u00e9thode statique Atomics
.xor()
calcule le r\u00e9sultat d'un OU exclusif (XOR) binaire entre une valeur donn\u00e9e et une valeur du tableau partag\u00e9 \u00e0 un emplacement donn\u00e9. Elle renvoie l'ancienne valeur qui \u00e9tait contenue \u00e0 cette position. 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-30T09:56:43", "review_tags": []}], "modified": "2016-04-04T12:34:30", "label": "Atomics.xor()", "localization_tags": [], "locale": "en-US", "id": 173483, "last_edit": "2016-01-28T11:36:58", "summary": "The static Atomics
.xor()
method computes a bitwise XOR with 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": "Description", "title": "Description"}, {"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/xor", "review_tags": []}