You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: `question` را به کاربر نمایش میدهد که از او میخواهد متنی را تایپ کند. بعد متن تایپ شده را بر میگرداند. در صورتی که کاربر روی "cancel" کلیک کند یا کلید Esc را فشار دهد مقدار `null` را بر میگرداند.
: دو نوع مقداردهی داریم: مقداردهی معمولی مثل `a = b` و مقداردهی ترکیبی مثل `a *= 2`.
145
156
157
+
<<<<<<< HEAD
146
158
بیتی (Bitwise)
147
159
: عملگرهای بیتی با اعداد 32 بیتی در پایینترین سطح یعنی بیت کار میکنند: زمانی که به آنها نیاز داشتید به [مستندات](mdn:/JavaScript/Guide/Expressions_and_Operators#Bitwise) مراجعه کنید.
160
+
=======
161
+
Bitwise
162
+
: Bitwise operators work with 32-bit integers at the lowest, bit-level: see the [docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#bitwise_operators) when they are needed.
163
+
>>>>>>> 9e3fa1351f80cfd6353a778a55b2c86bca9e895f
148
164
149
165
شرطی (Conditional)
150
166
: تنها اپراتور 3 پارامتری: `cond ? resultA : resultB`. اگر `cond` truthy باشد، `resultA` را برمیگرداند، در غیر این صورت `resultB`.
Copy file name to clipboardExpand all lines: 2-ui/1-document/11-coordinates/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Additionally, there are derived properties:
36
36
```online
37
37
For instance click this button to see its window coordinates:
38
38
39
-
<p><input id="brTest" type="button" value="Get coordinates using button.getBoundingClientRect() for this button" onclick='showRect(this)'/></p>
39
+
<p><input id="brTest" type="button" style="max-width: 90vw;" value="Get coordinates using button.getBoundingClientRect() for this button" onclick='showRect(this)'/></p>
Copy file name to clipboardExpand all lines: 2-ui/3-event-details/6-pointer-events/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Some pointer devices measure contact area and pressure, e.g. for a finger on the
69
69
- `height` - the height of the area where the pointer touches the device. Where unsupported, it's always `1`.
70
70
- `pressure` - the pressure of the pointer tip, in range from 0 to 1. For devices that don't support pressure must be either `0.5` (pressed) or `0`.
71
71
- `tangentialPressure` - the normalized tangential pressure.
72
-
- `tiltX`, `tiltY`, `twist` - pen-specific properties that describe how the pen is positioned relative the surface.
72
+
- `tiltX`, `tiltY`, `twist` - pen-specific properties that describe how the pen is positioned relative to the surface.
73
73
74
74
These properties aren't supported by most devices, so they are rarely used. You can find the details about them in the [specification](https://w3c.github.io/pointerevents/#pointerevent-interface) if needed.
Copy file name to clipboardExpand all lines: 5-network/10-long-polling/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The flow:
29
29
3. When a message appears - the server responds to the request with it.
30
30
4. The browser makes a new request immediately.
31
31
32
-
The situation when the browser sent a request and has a pending connection with the server, is standard for this method. Only when a message is delivered, the connection is reestablished.
32
+
This situation, where the browser has sent a request and keeps a pending connection with the server, is standard for this method. Only when a message is delivered, the connection is closed and reestablished.
0 commit comments