Home  >  Article  >  WeChat Applet  >  What are the commonly used operators in WeChat mini programs?

What are the commonly used operators in WeChat mini programs?

php中世界最好的语言
php中世界最好的语言Original
2018-06-05 14:05:365245browse
<h2 style="margin-top: 0px; margin-bottom: 10px; padding: 0.25em 0px 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; border-top: none; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Basic operators</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 加法运算console.log(30 === a + b);// 减法运算console.log(-10 === a - b);// 乘法运算console.log(200 === a * b);// 除法运算console.log(0.5 === a / b);// 取余运算console.log(10 === a % b);</pre> <ul style="margin-top:10px;margin-bottom:10px;padding-left:30px;list-style-position:outside;list-style-image:none;line-height:1.7;color:rgb(0,0,0);font-family:Verdana, Arial, Helvetica, sans-serif;font-size:14px;background-color:rgb(255,255,255);" class=" list-paddingleft-2"><li><p style="text-align: left;">The addition operation ( ) can also be used for string concatenation. </p></li></ul> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = '.w' , b = 'xs';// 字符串拼接console.log('.wxs' === a + b);</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Unary operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 自增运算console.log(10 === a++);console.log(12 === ++a);// 自减运算console.log(12 === a--);console.log(10 === --a);// 正值运算console.log(10 === +a);// 负值运算console.log(0-10 === -a);// 否运算console.log(-11 === ~a);// 取反运算console.log(false === !a);// delete 运算console.log(true === delete a.fake);// void 运算console.log(undefined === void a);// typeof 运算console.log("number" === typeof a);</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Bitwise operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 左移运算console.log(80 === (a << 3));// 无符号右移运算console.log(2 === (a >> 2));// 带符号右移运算console.log(2 === (a >>> 2));// 与运算console.log(2 === (a & 3));// 异或运算console.log(9 === (a ^ 3));// 或运算console.log(11 === (a | 3));</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Comparison operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 小于console.log(true === (a < b));// 大于console.log(false === (a > b));// 小于等于console.log(true === (a <= b));// 大于等于console.log(false === (a >= b));</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Equality operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 等号console.log(false === (a == b));// 非等号console.log(true === (a != b));// 全等号console.log(false === (a === b));// 非全等号console.log(true === (a !== b));</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Assignment operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Example Code: </p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10; a = 10; a *= 10;console.log(100 === a); a = 10; a /= 5;console.log(2 === a); a = 10; a %= 7;console.log(3 === a); a = 10; a += 5;console.log(15 === a); a = 10; a -= 11;console.log(-1 === a); a = 10; a <<= 10;console.log(10240 === a); a = 10; a >>= 2;console.log(2 === a); a = 10; a >>>= 2;console.log(2 === a); a = 10; a &= 3;console.log(2 === a); a = 10; a ^= 3;console.log(9 === a); a = 10; a |= 3;console.log(11 === a);</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Binary logical operator</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code:</p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;// 逻辑与console.log(20 === (a && b));// 逻辑或console.log(10 === (a || b));</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">Other operators</h2> <p style="margin-bottom: 5px; color: rgb(0, 0, 0); line-height: 1.7; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); text-align: left;">Sample code:</p> <pre style="margin-top:15px;margin-bottom:15px;padding:10px 5px;line-height:1.7;background:rgb(239,239,239);font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;border:1px solid rgb(221,221,221);white-space:pre-wrap;">var a = 10, b = 20;//条件运算符console.log(20 === (a >= 10 ? a + 10 : b + 10));//逗号运算符console.log(20 === (a, b));</pre> <h2 style="margin-top: 20px; margin-bottom: 10px; padding: 0px; color: rgb(0, 0, 0); line-height: 1.7; font-size: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); text-align: left;">运算符优先级</h2> <table style="margin: 15px 0px; padding: 0px; table-layout: fixed; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);"> <thead style="margin:0px;padding:0px;background-color:rgb(249,249,249);"><tr style="margin:0px;padding:0px;" class="firstRow"> <th style="margin:0px;padding:2px 4px;background-color:rgb(255,255,255);border-color:rgb(204,204,204);text-align:center;">优先级</th> <th style="margin:0px;padding:2px 4px;background-color:rgb(255,255,255);border-color:rgb(204,204,204);text-align:center;">运算符</th> <th style="margin:0px;padding:2px 4px;background-color:rgb(255,255,255);border-color:rgb(204,204,204);text-align:center;">说明</th> <th style="margin:0px;padding:2px 4px;background-color:rgb(255,255,255);border-color:rgb(204,204,204);text-align:center;">结合性</th> </tr></thead> <tbody style="margin:0px;padding:0px;"> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">20</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">(</code> ... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">)</code> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">括号</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">n/a</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">19</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">.</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">成员访问</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">从左到右</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">[</code> ... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">]</code> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">成员访问</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">从左到右</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">(</code> ... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">)</code> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">函数调用</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">从左到右</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">17</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> </code> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Post-increment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">n/a</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>##... <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">--<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code> </td>Post-decreasing<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>n/a<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;">16<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">!<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> ...</code> </td>logical NOT<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>From right to left<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">~<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> ...</code> </td>Bitwise not<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>right to left<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> ...</code> </td>One dollar addition<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>From right to left<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>##-<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">. ..<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code>One dollar subtraction</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> </code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Prefix increment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">##--<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> ...</code> </td>Decreasing front <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>From right to left<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>##typeof<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> ...<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code>typeof</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>void<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> ...<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code>void</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td>delete <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> ...<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code>delete</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr>14<tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... </td>*<td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> ...<code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"></code>Multiplication</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"></td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">/</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Division</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">%</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Module</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">13</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> </code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Addition</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">-</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Subtraction</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">12 </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"><<</code> ...</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Bitwise left shift</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td></tr><tr style="margin:0px;padding:0px;"><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">>></code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Bitwise shift to the right</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">>>></code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Unsigned right shift</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right </td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">11</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"><</code> ...</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> is less than </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> from left to right </td></tr><tr style="margin:0px;padding:0px;"><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"><=</code> ...</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Less than or equal to </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to Right</td></tr><tr style="margin:0px;padding:0px;"><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">></code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> is larger than </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> from left to right </td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">>=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Greater than or equal to </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to Right </td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">10</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">==</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">EQUAL SIGN</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left To the right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">!=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Non-equal sign</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">===</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Congruent sign</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">!==</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Non-congruent sign</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right </td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">9</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">&</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">bitwise and </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">from left to Right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">8</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">^</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Bitwise XOR</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From Left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">7</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">|</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">bitwise or</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">6</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">&&</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Logic and</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">5</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">||</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Logical or </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Left to right</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">4</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">?</code> ... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">:</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Conditional operator</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">3</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"> =</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From Right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">-=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right To the left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">*=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">/=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">%=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;"><<=</code> ...</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td></tr><tr style="margin:0px;padding:0px;"><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td><td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">>>=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">>>>=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">&=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">^=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;"> </td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">|=</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Assignment</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From right to left</td> </tr> <tr style="margin:0px;padding:0px;"> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">0</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">... <code style="margin:0px 5px;padding:0px 4px;font-size:14px;font-family:Consolas, 'Courier New', Courier, monospace;">,</code> ...</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">Comma</td> <td style="margin:0px;padding:2px 4px;min-width:40px;border-color:rgb(204,204,204);vertical-align:top;text-align:center;">From left to right</td> </tr> </tbody> </table> <p style="text-align: left;"> I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website! </p> <p style="text-align: left;"> Recommended reading: </p> <p style="text-align: left;"><a href="http://www.php.cn/xiaochengxu-400864.html" target="_blank">How to implement horizontal scrolling in the Android environment in WeChat applet development</a></p>

The above is the detailed content of What are the commonly used operators in WeChat mini programs?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn