{"json_modified": "2016-01-30T09:57:03.783063", "slug": "Web/JavaScript/Reference/Objets_globaux/Atomics/xor", "tags": ["M\u00e9moire partag\u00e9e", "M\u00e9thode", "Atomics", "Exp\u00e9rimental", "JavaScript"], "locale": "fr", "title": "Atomics.xor()", "translations": [{"title": "Atomics.xor()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/xor", "tags": ["Shared Memory", "Experimental", "Atomics", "Method", "JavaScript"], "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.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-28T11:36:58", "review_tags": []}], "modified": "2016-01-30T09:57:03", "label": "Atomics.xor()", "localization_tags": [], "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Atomics/xor", "last_edit": "2016-01-30T09:56:43", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param\u00e8tres", "title": "Param\u00e8tres"}, {"id": "Valeur_de_retour", "title": "Valeur de retour"}, {"id": "Exceptions", "title": "Exceptions"}, {"id": "Description", "title": "Description"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "id": 173639, "review_tags": []}