{"id":6184,"date":"2024-02-01T11:29:43","date_gmt":"2024-02-01T03:29:43","guid":{"rendered":"https:\/\/www.citerp.com.tw\/citwordpress\/?p=6184"},"modified":"2024-02-01T11:29:45","modified_gmt":"2024-02-01T03:29:45","slug":"javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90","status":"publish","type":"post","link":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/","title":{"rendered":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators#%E8%B3%A6%E5%80%BC%E9%81%8B%E7%AE%97%E5%AD%90\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u904b\u7b97\u5b50<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u7a31<\/th><th>\u7c21\u5316\u7684\u904b\u7b97\u5b50<\/th><th>\u610f\u7fa9<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x = y<\/code><\/td><td><code>x = y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#addition_assignment\">\u52a0\u6cd5\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x += y<\/code><\/td><td><code>x = x + y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#subtraction_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u6e1b\u6cd5\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x -= y<\/code><\/td><td><code>x = x - y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#multiplication_assignment\">\u4e58\u6cd5\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x *= y<\/code><\/td><td><code>x = x * y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#division_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u9664\u6cd5\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x \/= y<\/code><\/td><td><code>x = x \/ y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#remainder_assignment\">\u9918\u6578\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x %= y<\/code><\/td><td><code>x = x % y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#exponentiation_assignment\">\u6307\u6578\u00a0<small>(en-US)<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x **= y<\/code><\/td><td><code>x = x ** y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#left_shift_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u5de6\u79fb\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x &lt;&lt;= y<\/code><\/td><td><code>x = x &lt;&lt; y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#right_shift_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u53f3\u79fb\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x &gt;&gt;= y<\/code><\/td><td><code>x = x &gt;&gt; y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#unsigned_right_shift_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u7121\u865f\u53f3\u79fb\u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x &gt;&gt;&gt;= y<\/code><\/td><td><code>x = x &gt;&gt;&gt; y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#bitwise_and_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 AND \u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x &amp;= y<\/code><\/td><td><code>x = x &amp; y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#bitwise_xor_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 XOR \u8ce6\u503c<\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#bitwise_xor_assignment\">\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x ^= y<\/code><\/td><td><code>x = x ^ y<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#Assignment_operators#bitwise_or_assignment\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 OR \u8ce6\u503c\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>x |= y<\/code><\/td><td><code>x = x | y<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators#%E6%AF%94%E8%BC%83%E9%81%8B%E7%AE%97%E5%AD%90\" target=\"_blank\" rel=\"noreferrer noopener\">\u6bd4\u8f03\u904b\u7b97\u5b50<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u904b\u7b97\u5b50<\/th><th>\u63cf\u8ff0<\/th><th>\u6703\u56de\u50b3 True \u7684\u4f8b\u5b50<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#equality\" target=\"_blank\" rel=\"noreferrer noopener\">\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>==<\/code>)<\/td><td>\u5047\u5982\u904b\u7b97\u5143\u7b49\u50f9\u5c31\u56de\u50b3 True\u3002<\/td><td><code>3 == var1<\/code>&nbsp;<code>\"3\" == var1<\/code>&nbsp;<code>3 == '3'<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#inequality\" target=\"_blank\" rel=\"noreferrer noopener\">\u4e0d\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>!=<\/code>)<\/td><td>\u5047\u5982\u904b\u7b97\u5143\u7b49\u50f9\u5c31\u56de\u50b3 True\u3002<\/td><td><code>var1 != 4 var2 != \"3\"<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#identity\" target=\"_blank\" rel=\"noreferrer noopener\">\u56b4\u683c\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>===<\/code>)<\/td><td>\u5047\u5982\u904b\u7b97\u5143\u5177\u6709\u76f8\u540c\u578b\u614b\u4e14\u7b49\u50f9\u5247\u56de\u50b3 True\u3002\u53c3\u8003\u00a0<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Object\/is\" target=\"_blank\" rel=\"noreferrer noopener\"><code>Object.is<\/code>\u00a0<small>(en-US)<\/small><\/a>\u00a0\u53ca\u00a0<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Equality_comparisons_and_sameness\" target=\"_blank\" rel=\"noreferrer noopener\">JS \u4e2d\u7684\u7b49\u50f9\u6027<\/a>\u3002<\/td><td><code>3 === var1<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#nonidentity\" target=\"_blank\" rel=\"noreferrer noopener\">\u56b4\u683c\u4e0d\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>!==<\/code>)<\/td><td>\u5047\u5982\u904b\u7b97\u5143\u5177\u6709\u76f8\u540c\u578b\u614b\u4f46\u4e0d\u7b49\u50f9\uff0c\u6216\u662f\u5177\u6709\u4e0d\u540c\u578b\u614b\uff0c\u56de\u50b3 True\u3002<\/td><td><code>var1 !== \"3\" 3 !== '3'<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#greater_than_operator\" target=\"_blank\" rel=\"noreferrer noopener\">\u5927\u65bc\u00a0<small>(en-U<\/small><\/a><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#greater_than_operator\"><small>S)<\/small><\/a>\u00a0(<code>><\/code>)<\/td><td>\u5047\u5982\u5de6\u65b9\u904b\u7b97\u5143\u5927\u65bc\u53f3\u65b9\u904b\u7b97\u5143\uff0c\u56de\u50b3 True\u3002<\/td><td><code>var2 &gt; var1 \"12\" &gt; 2<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#greater_than_or_equal_operator\" target=\"_blank\" rel=\"noreferrer noopener\">\u5927\u65bc\u6216\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>>=<\/code>)<\/td><td>\u5047\u5982\u5de6\u65b9\u904b\u7b97\u5143\u5927\u65bc\u6216\u7b49\u65bc\u53f3\u65b9\u904b\u7b97\u5143\uff0c\u56de\u50b3 True\u3002<\/td><td><code>var2 &gt;= var1 var1 &gt;= 3<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#less_than_operator\" target=\"_blank\" rel=\"noreferrer noopener\">\u5c0f\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>&lt;<\/code>)<\/td><td>\u5047\u5982\u5de6\u65b9\u904b\u7b97\u5143\u5c0f\u65bc\u53f3\u65b9\u904b\u7b97\u5143\uff0c\u56de\u50b3 True\u3002<\/td><td><code>var1 &lt; var2 \"2\" &lt; 12<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#less_than_or_equal_operator\" target=\"_blank\" rel=\"noreferrer noopener\">\u5c0f\u65bc\u6216\u7b49\u65bc\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>&lt;=<\/code>)<\/td><td>\u5047\u5982\u5de6\u65b9\u904b\u7b97\u5143\u5c0f\u65bc\u6216\u7b49\u65bc\u53f3\u65b9\u904b\u7b97\u5143\uff0c\u56de\u50b3 True\u3002<\/td><td><code>var1 &lt;= var2 var2 &lt;= 5<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators#%E7%AE%97%E8%A1%93%E9%81%8B%E7%AE%97%E5%AD%90\" target=\"_blank\" rel=\"noreferrer noopener\">\u7b97\u8853\u904b\u7b97\u5b50<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u904b\u7b97\u5b50<\/th><th>\u63cf\u8ff0<\/th><th>\u7bc4\u4f8b<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#remainder\" target=\"_blank\" rel=\"noreferrer noopener\">\u53d6\u9918\u6578\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>%<\/code>)<\/td><td>\u4e8c\u5143\u904b\u7b97\u5b50\u3002\u56de\u50b3\u5169\u500b\u904b\u7b97\u5143\u76f8\u9664\u5f8c\u7684\u9918\u6578\u3002<\/td><td>12 % 5 \u56de\u50b3 2.<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#increment\" target=\"_blank\" rel=\"noreferrer noopener\">\u589e\u52a0\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>++<\/code>)<\/td><td>\u4e00\u5143\u904b\u7b97\u5b50\u3002 \u5c07\u904b\u7b97\u5143\u589e\u52a0 1\u3002\u5047\u5982\u4f7f\u7528\u5728\u904b\u7b97\u5143\u4e4b\u524d (<code>++x<\/code>)\uff0c\u6703\u904b\u7b97\u5143\u56de\u50b3\u589e\u52a0 1 \u5f8c\u7684\u503c;\u5047\u5982\u4f7f\u7528\u5728\u904b\u7b97\u5143\u4e4b\u5f8c\u3002 (<code>x++<\/code>)<code>\uff0c<\/code>&nbsp;\u6703\u56de\u50b3\u904b\u7b97\u5143\u52a0 1 \u524d\u7684\u503c\u3002<\/td><td>\u5047\u5982&nbsp;<code>x\u662f<\/code>&nbsp;3\uff0c\u90a3&nbsp;<code>++x<\/code>&nbsp;\u5c07\u628a&nbsp;<code>x<\/code>&nbsp;\u8a2d\u5b9a\u70ba 4 \u4e26\u56de\u50b3 4\uff0c\u800c&nbsp;<code>x++ \u6703\u56de\u50b3<\/code>&nbsp;3 \uff0c \u63a5\u8457\u624d\u628a&nbsp;<code>x \u8a2d\u5b9a\u70ba<\/code>&nbsp;4\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#decrement\" target=\"_blank\" rel=\"noreferrer noopener\">\u6e1b\u5c11\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>--<\/code>)<\/td><td>\u4e00\u5143\u904b\u7b97\u5b50\u3002 \u5c07\u904b\u7b97\u5143\u6e1b\u5c11 1\u3002\u56de\u50b3\u503c\u7684\u60c5\u6cc1\u8207 \u589e\u52a0\u904b\u7b97\u5143 \u76f8\u540c\u3002<\/td><td>\u5047\u5982&nbsp;<code>x\u662f<\/code>&nbsp;3\uff0c\u90a3&nbsp;<code>--x<\/code>&nbsp;\u5c07\u628a&nbsp;<code>x<\/code>&nbsp;\u8a2d\u5b9a\u70ba 2 \u4e26\u56de\u50b3 2\uff0c\u800c&nbsp;<code>x-- \u6703\u56de\u50b3<\/code>&nbsp;3 \uff0c \u63a5\u8457\u624d\u628a&nbsp;<code>x \u8a2d\u5b9a\u70ba<\/code>&nbsp;2\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#unary_negation\" target=\"_blank\" rel=\"noreferrer noopener\">(\u4e00\u5143\u904b\u7b97\u5b50)\u6e1b\u865f\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>-<\/code>)<\/td><td>\u4e00\u5143\u904b\u7b97\u5b50\u3002\u56de\u50b3\u904b\u7b97\u5143\u7684\u8ca0\u6578\u3002<\/td><td>\u5047\u5982 x \u662f 3\uff0c-x \u56de\u50b3 -3\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#unary_plus\" target=\"_blank\" rel=\"noreferrer noopener\">(\u4e00\u5143\u904b\u7b97\u5b50)\u52a0\u865f\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>+<\/code>)<\/td><td>\u4e00\u5143\u904b\u7b97\u5b50\u3002\u5617\u8a66\u5c07\u904b\u7b97\u5143\u8f49\u63db\u6210\u6578\u5b57\uff0c\u5047\u5982\u5b83\u9084\u4e0d\u662f\u6578\u5b57\u7684\u8a71\u3002<\/td><td><code>+\"3\"<\/code>&nbsp;<code>\u56de\u50b3 3<\/code>\u3002&nbsp;<code>+true<\/code>&nbsp;\u56de\u50b3&nbsp;<code>1.<\/code><\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#exponentiation\" target=\"_blank\" rel=\"noreferrer noopener\">\u6307\u6578\u904b\u7b97\u5b50\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>**<\/code>)\u00a0\u5be6\u9a57\u6027\u8cea<\/td><td>\u8a08\u7b97\u4ee5 a \u70ba\u5e95\u7684&nbsp;<code>b<\/code>&nbsp;\u6b21\u65b9\uff0c \u4e5f\u5c31\u662f,&nbsp;<code>a^b<\/code><\/td><td><code>2 ** 3<\/code>&nbsp;<code>\u56de\u50b3 8<\/code>.&nbsp;<code>10 ** -1<\/code>&nbsp;\u56de\u50b3&nbsp;<code>0.1<\/code>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators#%E4%BD%8D%E5%85%83%E9%81%8B%E7%AE%97%E5%AD%90\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143\u904b\u7b97\u5b50<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u904b\u7b97\u5b50<\/th><th>\u7528\u6cd5<\/th><th>\u63cf\u8ff0<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#bitwise_and\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 AND\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a &amp; b<\/code><\/td><td>\u56de\u50b3\u5169\u500b\u904b\u7b97\u5143\u5c0d\u65bc\u6bcf\u500b bit \u505a AND \u7684\u7d50\u679c\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#bitwise_or\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 OR\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a | b<\/code><\/td><td>\u56de\u50b3\u5169\u500b\u904b\u7b97\u5143\u5c0d\u65bc\u6bcf\u500b bit \u505a OR \u7684\u7d50\u679c\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#bitwise_xor\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 XOR\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a ^ b<\/code><\/td><td>\u56de\u50b3\u5169\u500b\u904b\u7b97\u5143\u5c0d\u65bc\u6bcf\u500b bit \u505a XOR \u7684\u7d50\u679c\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#bitwise_not\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f4d\u5143 NOT\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>~ a<\/code><\/td><td>\u5c07\u904b\u7b97\u5143\u4e2d\u7684\u6bcf\u500b bit \u53cd\u8f49(1-&gt;0,0-&gt;1)\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#left_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u5de6\u79fb\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a &lt;&lt; b<\/code><\/td><td>\u5c07&nbsp;<code>a<\/code>&nbsp;\u7684\u6bcf\u500b bit \u5411\u5de6\u79fb\u52d5&nbsp;<code>b<\/code>&nbsp;\u500b bits\uff0c\u7a7a\u9918\u7684\u4f4d\u6578\u4ee5 0 \u586b\u6eff\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#right_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u6709\u865f\u53f3\u79fb\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a &gt;&gt; b<\/code><\/td><td>\u5c07&nbsp;<code>a<\/code>&nbsp;\u7684\u6bcf\u500b bit \u5411\u53f3\u79fb\u52d5&nbsp;<code>b<\/code>&nbsp;\u500b bits\uff0c\u7a7a\u9918\u4f4d\u6578\u4ee5\u6700\u9ad8\u4f4d\u88dc\u6eff\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#unsigned_right_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u4ee5 0 \u586b\u5145\u7684\u53f3\u79fb\u00a0<small>(en-US)<\/small><\/a><\/td><td><code>a &gt;&gt;&gt; b<\/code><\/td><td>\u5c07&nbsp;<code>a<\/code>&nbsp;\u7684\u6bcf\u500b bit \u5411\u53f3\u79fb\u52d5&nbsp;<code>b<\/code>&nbsp;\u500b bits\uff0c\u7a7a\u9918\u7684\u4f4d\u6578\u4ee5 0 \u586b\u6eff\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f4d\u5143\u908f\u8f2f\u904b\u7b97\u5b50<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u904b\u7b97\u5f0f<\/th><th>\u7d50\u679c<\/th><th>\u4e8c\u5143\u63cf\u8ff0\u5f0f<\/th><\/tr><\/thead><tbody><tr><td><code>15 &amp; 9<\/code><\/td><td><code>9<\/code><\/td><td><code>1111 &amp; 1001 = 1001<\/code><\/td><\/tr><tr><td><code>15 | 9<\/code><\/td><td><code>15<\/code><\/td><td><code>1111 | 1001 = 1111<\/code><\/td><\/tr><tr><td><code>15 ^ 9<\/code><\/td><td><code>6<\/code><\/td><td><code>1111 ^ 1001 = 0110<\/code><\/td><\/tr><tr><td><code>~15<\/code><\/td><td><code>-16<\/code><\/td><td><code>~ 0000 0000 \u2026 0000 1111 = 1111 1111 \u2026 1111 0000<\/code><\/td><\/tr><tr><td><code>~9<\/code><\/td><td><code>-10<\/code><\/td><td><code>~ 0000 0000 \u2026 0000 1001 = 1111 1111 \u2026 1111 0110<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f4d\u5143\u79fb\u52d5\u904b\u7b97\u5b50<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u904b\u7b97\u5b50<\/th><th>\u63cf\u8ff0<\/th><th>\u7bc4\u4f8b<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Left_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u5de6\u79fb\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>&lt;&lt;<\/code>)<\/td><td>\u9019\u500b\u904b\u7b97\u5b50\u6703\u5c07\u7b2c \u4e00\u500b\u904b\u7b97\u5143\u7684\u6bcf\u500b bit \u5411\u5de6\u79fb\u52d5 \u7b2c\u4e8c\u500b\u904b\u7b97\u5143\u6240\u6307\u5b9a\u7684 bit \u6578\u91cf\u3002\u5de6\u908a\u8d85\u51fa\u7684\u4f4d\u6578\u6703\u88ab\u6368\u68c4\uff0c\u53f3\u908a\u7a7a\u51fa\u7684\u4f4d\u6578\u4ee5 0 \u88dc\u9f4a\u3002<\/td><td><code>9&lt;&lt;2<\/code>&nbsp;\u5f97\u5230 36\uff0c\u56e0\u70ba 1001 \u5411\u5de6\u79fb\u52d5 2 bits \u6703\u5f97\u5230 100100\uff0c \u4e5f\u5c31\u662f\u4e8c\u9032\u4f4d\u7684 36\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Right_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u6709\u865f\u53f3\u79fb\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>>><\/code>)<\/td><td>\u9019\u500b\u904b\u7b97\u5b50\u6703\u5c07\u7b2c \u4e00\u500b\u904b\u7b97\u5143\u7684\u6bcf\u500b bit \u5411\u53f3\u79fb\u52d5 \u7b2c\u4e8c\u500b\u904b\u7b97\u5143\u6240\u6307\u5b9a\u7684 bit \u6578\u91cf\u3002\u53f3\u908a\u8d85\u51fa\u7684\u4f4d\u6578\u6703\u88ab\u6368\u68c4\uff0c\u5de6\u908a\u7a7a\u51fa\u7684\u4f4d\u6578\u4ee5\u6700\u9ad8\u4f4d\u88dc\u9f4a\u3002<\/td><td><code>9&gt;&gt;2<\/code>&nbsp;\u5f97\u5230 2\uff0c\u56e0\u70ba 1001 \u5411\u53f3\u79fb\u52d5 2 bits \u6703\u5f97\u5230 10\uff0c\u4e5f\u5c31\u662f\u4e8c\u9032\u4f4d\u7684 2\u3002 \u76f8\u540c\u7684\uff0c&nbsp;<code>-9&gt;&gt;2<\/code>&nbsp;\u6703\u5f97\u5230 -3\uff0c\u56e0\u70ba\u6700\u9ad8\u4f4d\u7528\u4f86\u8868\u793a\u6b63\u8ca0\u865f\u7684 bit \u88ab\u4fdd\u7559\u4e86\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Unsigned_right_shift\" target=\"_blank\" rel=\"noreferrer noopener\">\u4ee5 0 \u586b\u5145\u7684\u53f3\u79fb\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>>>><\/code>)<\/td><td>\u9019\u500b\u904b\u7b97\u5b50\u6703\u5c07\u7b2c \u4e00\u500b\u904b\u7b97\u5143\u7684\u6bcf\u500b bit \u5411\u53f3\u79fb\u52d5 \u7b2c\u4e8c\u500b\u904b\u7b97\u5143\u6240\u6307\u5b9a\u7684 bit \u6578\u91cf\u3002\u53f3\u908a\u8d85\u51fa\u7684\u4f4d\u6578\u6703\u88ab\u6368\u68c4\uff0c\u5de6\u908a\u7a7a\u51fa\u7684\u4f4d\u6578\u4ee5 0 \u88dc\u9f4a\u3002<\/td><td><code>19&gt;&gt;&gt;2 \u5f97\u5230<\/code>&nbsp;4\uff0c \u56e0\u70ba 10011 \u5411\u53f3\u79fb\u52d5 2 bits \u6703\u5f97\u5230 100\uff0c\u662f\u4e8c\u9032\u4f4d\u7684 4\u3002\u5c0d\u65bc\u975e\u8ca0\u7684\u6578\u5b57\u800c\u8a00\uff0c \u4ee5 0 \u586b\u5145\u7684\u53f3\u79fb \u6703\u5f97\u5230\u548c \u6709\u865f\u53f3\u79fb\u76f8\u540c\u7684\u7d50\u679c\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators#%E9%82%8F%E8%BC%AF%E9%81%8B%E7%AE%97%E5%AD%90\" target=\"_blank\" rel=\"noreferrer noopener\">\u908f\u8f2f\u904b\u7b97\u5b50<\/a><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Operator<\/th><th>Usage<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#logical_and\" target=\"_blank\" rel=\"noreferrer noopener\">\u908f\u8f2f AND\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>&amp;&amp;<\/code>)<\/td><td><code>\u904b\u7b97\u5f0f1 &amp;&amp; \u904b\u7b97\u5f0f2<\/code><\/td><td>\u5047\u5982&nbsp;<code>\u904b\u7b97\u5f0f1<\/code>&nbsp;\u53ef\u4ee5\u88ab\u8f49\u63db\u6210 false \u7684\u8a71\uff0c\u56de\u50b3&nbsp;<code>\u904b\u7b97\u5f0f1<\/code>; \u5426\u5247\uff0c\u56de\u50b3&nbsp;<code>\u904b\u7b97\u5f0f2<\/code>\u3002 \u56e0\u6b64\uff0c<code>&amp;&amp;<\/code>\u53ea\u6709\u5728 \u5169\u500b\u904b\u7b97\u5143\u90fd\u662f True \u6642\u624d\u6703\u56de\u50b3 True\uff0c\u5426\u5247\u56de\u50b3&nbsp;<code>false<\/code>\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#logical_or\" target=\"_blank\" rel=\"noreferrer noopener\">\u908f\u8f2f OR\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>||<\/code>)<\/td><td><code>\u904b\u7b97\u5f0f1 || \u904b\u7b97\u5f0f2<\/code><\/td><td>\u5047\u5982&nbsp;<code>\u904b\u7b97\u5f0f1<\/code>&nbsp;\u53ef\u4ee5\u88ab\u8f49\u63db\u6210 true \u7684\u8a71\uff0c\u56de\u50b3&nbsp;<code>\u904b\u7b97\u5f0f1<\/code>; \u5426\u5247\uff0c\u56de\u50b3&nbsp;<code>\u904b\u7b97\u5f0f2<\/code>\u3002 \u56e0\u6b64\uff0c<code>||<\/code>\u5728 \u5169\u500b\u904b\u7b97\u5143\u6709\u4efb\u4e00\u500b\u662f True \u6642\u5c31\u6703\u56de\u50b3 True\uff0c\u5426\u5247\u56de\u50b3&nbsp;<code>false<\/code>\u3002<\/td><\/tr><tr><td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators#logical_not\" target=\"_blank\" rel=\"noreferrer noopener\">\u908f\u8f2f NOT\u00a0<small>(en-US)<\/small><\/a>\u00a0(<code>!<\/code>)<\/td><td><code>!\u904b\u7b97\u5f0f<\/code><\/td><td>\u5047\u5982\u55ae\u4e00\u500b\u904b\u7b97\u5143\u80fd\u88ab\u8f49\u63db\u6210 True \u6642\uff0c\u56de\u50b3<code>false<\/code>&nbsp;\uff0c \u4e0d\u7136\u56de\u50b3&nbsp;<code>true<\/code>\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\u53c3\u8003\u8cc7\u6599\uff1a<a href=\"https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.mozilla.org\/zh-TW\/docs\/Web\/JavaScript\/Guide\/Expressions_and_operators<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript \u5e38\u7528\u904b\u7b97\u5b50<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"qubely_global_settings":"","qubely_interactions":"","footnotes":""},"categories":[79],"tags":[80],"class_list":["post-6184","post","type-post","status-publish","format-standard","hentry","category-javascript","tag-javascript"],"qubely_featured_image_url":null,"qubely_author":{"display_name":"\u5eb7\u6377Qoo","author_link":"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/"},"qubely_comment":0,"qubely_category":"<a href=\"https:\/\/www.citerp.com.tw\/citwordpress\/category\/javascript\/\" rel=\"category tag\">JavaScript<\/a>","qubely_excerpt":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-\u5e38\u7528\u904b\u7b97\u5b50\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\" \/>\n<meta property=\"og:description\" content=\"JavaScript \u5e38\u7528\u904b\u7b97\u5b50\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-\u5e38\u7528\u904b\u7b97\u5b50\/\" \/>\n<meta property=\"og:site_name\" content=\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/citerptw\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-01T03:29:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-01T03:29:45+00:00\" \/>\n<meta name=\"author\" content=\"\u5eb7\u6377Qoo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5eb7\u6377Qoo\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/\"},\"author\":{\"name\":\"\u5eb7\u6377Qoo\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37\"},\"headline\":\"JavaScript \u5e38\u7528\u904b\u7b97\u5b50\",\"datePublished\":\"2024-02-01T03:29:43+00:00\",\"dateModified\":\"2024-02-01T03:29:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/\"},\"wordCount\":186,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\"},\"keywords\":[\"JavaScript\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/\",\"name\":\"JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"isPartOf\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#website\"},\"datePublished\":\"2024-02-01T03:29:43+00:00\",\"dateModified\":\"2024-02-01T03:29:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript \u5e38\u7528\u904b\u7b97\u5b50\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#website\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\",\"name\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"description\":\"\u514d\u8cbb\u8cc7\u6e90\u5171\u4eab\",\"publisher\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.citerp.com.tw\/citwordpress\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#organization\",\"name\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png\",\"contentUrl\":\"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png\",\"width\":128,\"height\":128,\"caption\":\"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab\"},\"image\":{\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/citerptw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37\",\"name\":\"\u5eb7\u6377Qoo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g\",\"caption\":\"\u5eb7\u6377Qoo\"},\"url\":\"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-\u5e38\u7528\u904b\u7b97\u5b50\/","og_locale":"zh_TW","og_type":"article","og_title":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","og_description":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50","og_url":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-\u5e38\u7528\u904b\u7b97\u5b50\/","og_site_name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","article_publisher":"https:\/\/www.facebook.com\/citerptw","article_published_time":"2024-02-01T03:29:43+00:00","article_modified_time":"2024-02-01T03:29:45+00:00","author":"\u5eb7\u6377Qoo","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"\u5eb7\u6377Qoo","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"4 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#article","isPartOf":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/"},"author":{"name":"\u5eb7\u6377Qoo","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37"},"headline":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50","datePublished":"2024-02-01T03:29:43+00:00","dateModified":"2024-02-01T03:29:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/"},"wordCount":186,"commentCount":0,"publisher":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization"},"keywords":["JavaScript"],"articleSection":["JavaScript"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/","url":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/","name":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50 - \u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","isPartOf":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#website"},"datePublished":"2024-02-01T03:29:43+00:00","dateModified":"2024-02-01T03:29:45+00:00","breadcrumb":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/javascript-%e5%b8%b8%e7%94%a8%e9%81%8b%e7%ae%97%e5%ad%90\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/www.citerp.com.tw\/citwordpress\/"},{"@type":"ListItem","position":2,"name":"JavaScript \u5e38\u7528\u904b\u7b97\u5b50"}]},{"@type":"WebSite","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#website","url":"https:\/\/www.citerp.com.tw\/citwordpress\/","name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","description":"\u514d\u8cbb\u8cc7\u6e90\u5171\u4eab","publisher":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.citerp.com.tw\/citwordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Organization","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#organization","name":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab","url":"https:\/\/www.citerp.com.tw\/citwordpress\/","logo":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/","url":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png","contentUrl":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-content\/uploads\/2022\/06\/find2.png","width":128,"height":128,"caption":"\u514d\u8cbb\u8cc7\u6e90\u5206\u4eab"},"image":{"@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/citerptw"]},{"@type":"Person","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/28cfdf2cec7315f2efe90573114fed37","name":"\u5eb7\u6377Qoo","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.citerp.com.tw\/citwordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87fa59ff417f35a6d53f05479d9dd918615095cadddb02e447511edc4f8b6302?s=96&d=mm&r=g","caption":"\u5eb7\u6377Qoo"},"url":"https:\/\/www.citerp.com.tw\/citwordpress\/author\/cit001\/"}]}},"_links":{"self":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts\/6184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/comments?post=6184"}],"version-history":[{"count":0,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/posts\/6184\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/media?parent=6184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/categories?post=6184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.citerp.com.tw\/citwordpress\/wp-json\/wp\/v2\/tags?post=6184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}