Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3845cba

Browse files
committed
updated
1 parent82c6dc3 commit3845cba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎docs/cheatsheet/basics.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ We all need to start somewhere, so how about doing it here.
1414
From the <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/What_is_JavaScript">MDN web docs</a>
1515
</base-disclaimer-title>
1616
<base-disclaimer-content>
17-
JavaScript is a scripting language that allows you to implement complex features on web pages: displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. You can bet that JavaScript is probably involved.
17+
JavaScript is a scripting language that allows you to implement complex features on web pages: displaying timely content updates, interactive maps, animated 2D/3D graphics, scrolling video jukeboxes, etc. You can bet that JavaScript is probably involved. It is a commonly used programming language to create dynamic and interactive elements in web applications and it is easy to learn.
1818
</base-disclaimer-content>
1919
</base-disclaimer>
2020

@@ -299,12 +299,14 @@ Bitwise operators operate on 32-bit binary representations of numbers:
299299
| Operator | Description | Example | Result |
300300
| -------- | ---------------------------- | --------- | ------ |
301301
| `&` | Bitwise AND | `5 & 1` | `1` |
302+
| `|" | Bitwise OR | `5 | 1` | `5` |
302303
| `^` | Bitwise XOR | `5 ^ 1` | `4` |
303304
| `~` | Bitwise NOT | `~5` | `-6` |
304305
| `<<` | Left shift | `5 << 1` | `10` |
305306
| `>>` | Sign-propagating right shift | `5 >> 1` | `2` |
306307
| `>>>` | Zero-fill right shift | `5 >>> 1` | `2` |
307308
309+
308310
1. **Bitwise AND (`&`)**: Returns a one in each bit position where operands have ones.
309311
310312
```javascript

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp