{"json_modified": "2015-04-15T06:00:05.386271", "slug": "Web/JavaScript/Reference/Operators/Bitwise_Operators", "tags": [], "locale": "ja", "title": "\u30d3\u30c3\u30c8\u6f14\u7b97\u5b50", "translations": [{"title": "Bitwise operators", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators", "tags": ["Operator", "JavaScript"], "summary": "<strong>Bitwise operators</strong> treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal <code><a href=\"/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\" title=\"/en-US/docs/JavaScript/Reference/Global_Objects/Number\">numbers</a></code>. For example, the decimal number nine has a binary representation of 1001. Bitwise operators perform their operations on such binary representations, but they return standard JavaScript numerical values.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-11T09:46:38", "review_tags": []}, {"title": "\u0411\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438", "url": "/ru/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators", "tags": ["\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440", "JavaScript"], "summary": "\u0411\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430\u043c\u0438 \u043a\u0430\u043a \u0441 32-\u0445 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u044b\u043c\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u043d\u0443\u043b\u0435\u0439 \u0438 \u0435\u0434\u0438\u043d\u0438\u0446, \u0430 \u043d\u0435 \u043a\u0430\u043a \u0441 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u043c\u0438, \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u0438\u0447\u043d\u044b\u043c\u0438 \u0438\u043b\u0438 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0438\u0440\u0438\u0447\u043d\u044b\u043c\u0438 \u0447\u0438\u0441\u043b\u0430\u043c\u0438. \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e 9 \u0432 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043a\u0430\u043a 1001. \u0411\u0438\u0442\u043e\u0432\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442 \u0441\u0432\u043e\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0447\u0438\u0441\u043b\u0430, \u043d\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044f\u0437\u044b\u043a\u0430 JavaScript.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2014-11-24T12:27:50", "review_tags": []}, {"title": "Op\u00e9rateurs binaires", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Op%C3%A9rateurs_binaires", "tags": ["R\u00e9f\u00e9rence", "Reference", "R\u00e9ference", "Operator", "JavaScript"], "summary": "Les op\u00e9rateurs binaires traitent leurs op\u00e9randes comme des s\u00e9quences de 32 bits (des z\u00e9ros et des uns), plut\u00f4t que comme des nombres d\u00e9cimaux, hexad\u00e9cimaux ou octaux. Par exemple, le nombre d\u00e9cimal neuf a une repr\u00e9sentation binaire de 1001. Les op\u00e9rateurs binaires traitent de telles repr\u00e9sentations binaires, mais renvoient des valeurs num\u00e9riques JavaScript standards.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T13:43:52", "review_tags": []}, {"title": "Bitwise Operators", "url": "/ko/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators", "tags": [], "summary": "\ube44\ud2b8 \uc5f0\uc0b0\uc790\ub294 \ud53c\uc5f0\uc0b0\uc790\ub97c 10\uc9c4\uc218\ub098 16\uc9c4\uc218\ub098 8\uc9c4\uc218\uc640 \uac19\uc740 \uc22b\uc790\uac00 \uc544\ub2c8\ub77c, 32\ube44\ud2b8(0\uacfc 1)\uc758 \uc9d1\ud569\uc73c\ub85c \ud45c\ud604\ud569\ub2c8\ub2e4. \uc608\ub97c\ub4e4\uc5b4, 10\uc9c4\uc218 9\uc758 2\uc9c4\uc218 \ud45c\uae30\ubc95\uc740 1001\uc785\ub2c8\ub2e4. \ube44\ud2b8 \uc5f0\uc0b0\uc790\ub294 \uc774\ub807\ub4ef 2\uc9c4\uc218\ub85c \ud45c\ud604\ud55c \ub4a4\uc5d0 \uacc4\uc0b0\uc744 \ud558\uc9c0\ub9cc, \ud45c\uc900 JavaScript \uac12\uc740 \ub9ac\ud134\uc2dc\ud0b5\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2014-07-06T09:18:18", "review_tags": []}, {"title": "\u6309\u4f4d\u64cd\u4f5c\u7b26", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators", "tags": [], "summary": "<strong>\u6309\u4f4d\u64cd\u4f5c\u7b26\uff08Bitwise operators\uff09</strong>\u00a0\u5c06\u5176\u64cd\u4f5c\u6570\uff08operands\uff09\u5f53\u4f5c32\u4f4d\u7684\u6bd4\u7279\u5e8f\u5217\uff08\u75310\u548c1\u7ec4\u6210\uff09\uff0c\u800c\u4e0d\u662f\u5341\u8fdb\u5236\u3001\u5341\u516d\u8fdb\u5236\u6216\u516b\u8fdb\u5236<a href=\"/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Number\" title=\"/en-US/docs/JavaScript/Reference/Global_Objects/Number\">\u6570\u503c</a>\u3002\u4f8b\u5982\uff0c\u5341\u8fdb\u5236\u65709\uff0c\u7528\u4e8c\u8fdb\u5236\u8868\u793a\u5219\u4e3a1001\u3002\u6309\u4f4d\u64cd\u4f5c\u7b26\u64cd\u4f5c\u6570\u5b57\u7684\u4e8c\u8fdb\u5236\u5f62\u5f0f\uff0c\u4f46\u662f\u8fd4\u56de\u503c\u4f9d\u7136\u662f\u6807\u51c6\u7684JavaScript\u6570\u503c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-02-27T00:43:03", "review_tags": []}, {"title": "Operadors de bits", "url": "/ca/docs/Web/JavaScript/Referencia/Operadors/Bitwise_Operators", "tags": [], "summary": "<strong>Els operadors de bits</strong> tracten els seus operands com una seq\u00fc\u00e8ncia de 32 bits (uns i zeros), en comptes de operar-los com a <a href=\"/ca/docs/Web/JavaScript/Reference/Global_Objects/Number\">nombres</a> decimals, hexadecimals o octals. Per exemple, la representaci\u00f3 bin\u00e0ria del \u00e9s nombre decimal nou (9) 1001. Els operadors de bits treballen amb aquesta representaci\u00f3 bin\u00e0ria per\u00f2 el resultat que retorna l'operaci\u00f3 sempre \u00e9s un nombre standard de JavaScript.", "localization_tags": [], "locale": "ca", "last_edit": "2015-03-09T06:26:21", "review_tags": ["editorial"]}], "modified": "2015-04-15T06:00:02", "label": "\u30d3\u30c3\u30c8\u6f14\u7b97\u5b50", "localization_tags": [], "url": "/ja/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators", "last_edit": "2015-04-15T05:45:50", "summary": "\u30d3\u30c3\u30c8\u6f14\u7b97\u5b50\u3067\u306f\u305d\u306e\u30aa\u30da\u30e9\u30f3\u30c9\u3092 10 \u9032\u6570\u3084 16 \u9032\u6570\u3084 8 \u9032\u6570\u306e<code><a href=\"/ja/docs/JavaScript/Reference/Global_Objects/Number\" title=\"/ja/docs/JavaScript/Reference/Global_Objects/Number\">\u6570\u5024</a></code>\u3067\u306f\u306a\u304f\u300132 \u30d3\u30c3\u30c8\u306e\u96c6\u5408\uff080 \u3068 1\uff09\u3068\u3057\u3066 \u6271\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u300110 \u9032\u6570\u306e 9 \u306e 2 \u9032\u8868\u73fe\u306f 1001 \u3067\u3059\u3002\u30d3\u30c3\u30c8\u6f14\u7b97\u5b50\u306f\u3053\u306e\u3088\u3046\u306b 2 \u9032\u8868\u73fe\u306b\u3057\u305f\u4e0a\u3067\u6f14\u7b97\u3092\u884c\u3044\u307e\u3059\u304c\u3001\u6a19\u6e96\u306e JavaScript \u306e\u6570\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays Memory Management Concurrency model and Event Loop References: Built-in objects Global Objects Array ArrayBuffer Boolean DataView Date Error EvalError Float32Array Float64Array Function Generator [Translate] GeneratorFunction [Translate] Infinity Int16Array Int32Array Int8Array InternalError [Translate] Intl [Translate] Intl.Collator [Translate] Intl.DateTimeFormat [Translate] Intl.NumberFormat [Translate] Iterator [Translate] JSON Map Math NaN Number Object ParallelArray Promise Proxy RangeError ReferenceError Reflect [Translate] RegExp Set [Translate] StopIteration [Translate] String Symbol [Translate] SyntaxError TypeError TypedArray URIError Uint16Array Uint32Array Uint8Array Uint8ClampedArray [Translate] WeakMap WeakSet [Translate] decodeURI() decodeURIComponent() encodeURI() encodeURIComponent() escape() eval() isFinite() isNaN() null parseFloat() parseInt() undefined unescape() [Translate] uneval() Expressions & operators \u6f14\u7b97\u5b50 \u7b97\u8853\u6f14\u7b97\u5b50 Array comprehensions [Translate] \u4ee3\u5165\u6f14\u7b97\u5b50 \u30d3\u30c3\u30c8\u6f14\u7b97\u5b50 \u30ab\u30f3\u30de\u6f14\u7b97\u5b50 \u6bd4\u8f03\u6f14\u7b97\u5b50 \u6761\u4ef6\u6f14\u7b97\u5b50 Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression [Translate] \u8ad6\u7406\u6f14\u7b97\u5b50 Object initializer [Translate] \u6f14\u7b97\u5b50\u306e\u512a\u5148\u9806\u4f4d \u30e1\u30f3\u30d0\u30fc\u6f14\u7b97\u5b50 Spread operator [Translate] class expression [Translate] delete function function* expression [Translate] in instanceof new super [Translate] this typeof \u6f14\u7b97\u5b50 void \u6f14\u7b97\u5b50 yield yield* [Translate] Statements & declarations \u6587 Legacy generator function [Translate] \u30d6\u30ed\u30c3\u30af break class [Translate] const continue debugger [Translate] do...while empty [Translate] export for for each...in for...in for...of function function* if...else import label let return switch throw try...catch var while with Functions \u95a2\u6570\u3068\u95a2\u6570\u30b9\u30b3\u30fc\u30d7 arguments \u30a2\u30ed\u30fc\u95a2\u6570 Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] get set Classes Classes [Translate] constructor [Translate] extends [Translate] static [Translate] Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript JavaScript \u306e\u65b0\u6a5f\u80fd Mozilla \u306b\u304a\u3051\u308b ECMAScript 5 \u306e\u30b5\u30dd\u30fc\u30c8 Mozilla \u306b\u304a\u3051\u308b ECMAScript 6 \u306e\u30b5\u30dd\u30fc\u30c8 ECMAScript 7 support in Mozilla [Translate] Firefox JavaScript changelog [Translate] JavaScript 1.1 \u306e\u65b0\u6a5f\u80fd New in JavaScript 1.2 [Translate] JavaScript 1.3 \u306e\u65b0\u6a5f\u80fd JavaScript 1.4 \u306e\u65b0\u6a5f\u80fd JavaScript 1.5 \u306e\u65b0\u6a5f\u80fd JavaScript 1.6 \u306e\u65b0\u6a5f\u80fd JavaScript 1.7 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.1 \u306e\u65b0\u6a5f\u80fd JavaScript 1.8.5 \u306e\u65b0\u6a5f\u80fd Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Signed_32-bit_integers", "title": "\u7b26\u53f7\u4ed8\u304d 32 \u30d3\u30c3\u30c8\u6574\u6570\u5024"}, {"id": "Bitwise_logical_operators", "title": "\u30d3\u30c3\u30c8\u3054\u3068\u306e\u8ad6\u7406\u6f14\u7b97\u5b50"}, {"id": ".26_(Bitwise_AND)", "title": "& (\u30d3\u30c3\u30c8\u3054\u3068\u306e AND)"}, {"id": ".7C_(Bitwise_OR)", "title": "| (\u30d3\u30c3\u30c8\u3054\u3068\u306e OR)"}, {"id": ".5E_(Bitwise_XOR)", "title": "^ (\u30d3\u30c3\u30c8\u3054\u3068\u306e XOR)"}, {"id": ".7E_(Bitwise_NOT)", "title": "~ (\u30d3\u30c3\u30c8\u3054\u3068\u306e NOT)"}, {"id": "Bitwise_shift_operators", "title": "\u30d3\u30c3\u30c8\u30b7\u30d5\u30c8\u6f14\u7b97\u5b50"}, {"id": "<<_(Left_shift)", "title": "<< (\u5de6\u30b7\u30d5\u30c8)"}, {"id": ">>_(Sign-propagating_right_shift)", "title": ">> (\u7b26\u53f7\u3092\u7dad\u6301\u3057\u305f\u53f3\u30b7\u30d5\u30c8)"}, {"id": ">>>_(Zero-fill_right_shift)", "title": ">>> (0 \u57cb\u3081\u53f3\u30b7\u30d5\u30c8)"}, {"id": "Examples", "title": "\u4f8b"}, {"id": "Example.3A_Flags_and_bitmasks", "title": "\u4f8b: \u30d5\u30e9\u30b0\u3068\u30d3\u30c3\u30c8\u30de\u30b9\u30af"}, {"id": "Conversion_snippets", "title": "\u5909\u63db\u7528\u30b3\u30fc\u30c9\u90e8\u54c1"}, {"id": "Automatize_the_creation_of_a_mask", "title": "\u30de\u30b9\u30af\u4f5c\u6210\u306e\u81ea\u52d5\u5316"}, {"id": "Reverse_algorithm.3A_an_array_of_booleans_from_a_mask", "title": "\u9006\u64cd\u4f5c\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0: \u30de\u30b9\u30af\u304b\u3089\u771f\u507d\u5024\u306e\u914d\u5217\u3092\u4f5c\u6210"}], "id": 54091, "review_tags": []}