Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
750 commits
Select commit Hold shift + click to select a range
5b63e81
Update article.md
leviding Nov 15, 2020
358c389
Update article.md
leviding Nov 15, 2020
80eb70f
Update article.md
leviding Nov 15, 2020
adf83c6
Update article.md
leviding Nov 15, 2020
9b3b10f
Update README.md
leviding Nov 16, 2020
6db57d9
Update article.md
leviding Nov 16, 2020
891495c
Promise.any
lumosmind Nov 17, 2020
15780b3
Update task.md
leviding Nov 17, 2020
a81bb4a
Fix typo in 2.2.5 (Dispatching custom events)
vsemozhetbyt Nov 17, 2020
149f63e
FIX: minor typo error, missing "alert( "
leviding Nov 18, 2020
1ba96d4
missssing
joaquinelio Nov 18, 2020
5aeb8fe
Update article.md
leviding Nov 18, 2020
ee8f6d1
Update article.md
joaquinelio Nov 18, 2020
3709b0b
Update article.md
leviding Nov 18, 2020
cd052d1
Update article.md
leviding Nov 18, 2020
0437d57
Fix typo in 2.3.3 (Moving the mouse...)
vsemozhetbyt Nov 18, 2020
5e9937a
Rephrase sentence.
odsantos Nov 18, 2020
0b401e6
Updated article.md
patrikbego Nov 19, 2020
565fef8
Include missing fileServer
manjufy Nov 19, 2020
fa4b19e
Rephrased for better clarity.
patrikbego Nov 19, 2020
1feed09
Rephrased for clarity.
patrikbego Nov 19, 2020
e289aba
Update 1-js/11-async/05-promise-api/article.md
lumosmind Nov 20, 2020
0bdacaf
Fis typo in 2.5.2 (Scripts: async, defer)
vsemozhetbyt Nov 22, 2020
2f0c37d
fixes
iliakan Nov 22, 2020
23da191
minor fixes
iliakan Nov 22, 2020
3cb134f
Merge pull request #2307 from vsemozhetbyt/patch-11
iliakan Nov 23, 2020
bd44850
fix nested markdown
joaquinelio Nov 24, 2020
1e590d6
Merge pull request #2310 from joaquinelio/patch-3
iliakan Nov 24, 2020
58136cb
Update article.md
paroche Nov 24, 2020
dcb3758
Merge pull request #2311 from javascript-tutorial/paroche-patch-20
paroche Nov 24, 2020
865c329
Further minor changes to punctuation and wording
paroche Nov 24, 2020
ac92672
And a little more
paroche Nov 24, 2020
54378cb
Correct subhead in 3.1 (Popups and window methods)
vsemozhetbyt Nov 24, 2020
246c6c4
Merge branch 'master' into patch-1
iliakan Nov 24, 2020
501adfd
Merge pull request #2187 from vsemozhetbyt/patch-1
iliakan Nov 24, 2020
c066fea
Merge pull request #2191 from vsemozhetbyt/patch-2
iliakan Nov 24, 2020
50a20d1
Merge pull request #2298 from manjufy/patch-1
iliakan Nov 24, 2020
f7b2208
Fix typo in 2.3.1 (Mouse events)
vsemozhetbyt Nov 17, 2020
b7a7e68
Fix typo in 2.99.2 (Selection and Range)
vsemozhetbyt Nov 23, 2020
a9d2363
Merge pull request #2296 from odsantos/update-strings
iliakan Nov 24, 2020
dd02130
Merge pull request #2295 from vsemozhetbyt/patch-10
iliakan Nov 24, 2020
aacdf01
Merge pull request #2192 from vsemozhetbyt/patch-3
iliakan Nov 24, 2020
7211729
Merge pull request #2193 from vsemozhetbyt/patch-4
iliakan Nov 24, 2020
445d2c8
minor fixes
iliakan Nov 24, 2020
79710c4
Update article.md
patrikbego Nov 24, 2020
50c3e3d
Merge pull request #2199 from vsemozhetbyt/patch-6
iliakan Nov 25, 2020
9700f82
Merge pull request #2283 from leviding/patch-31
iliakan Nov 25, 2020
47ca608
Update README.md
iliakan Nov 25, 2020
31d9441
Update README.md
iliakan Nov 25, 2020
865174e
Merge pull request #2285 from joneskj55/patch-1
iliakan Nov 25, 2020
b8fb9d4
Merge pull request #2300 from patrikbego/patch-1
iliakan Nov 25, 2020
a2494a7
Merge pull request #2290 from vsemozhetbyt/patch-7
iliakan Nov 25, 2020
fbe2050
Merge pull request #2291 from vsemozhetbyt/patch-8
iliakan Nov 25, 2020
ba277aa
Merge pull request #2292 from joaquinelio/patch-2
iliakan Nov 25, 2020
0e79e06
example is fixed and summary is extended
lumosmind Nov 25, 2020
5f04058
Summary section is fixed
lumosmind Nov 25, 2020
2554d3d
Merge pull request #2293 from leviding/patch-33
iliakan Nov 25, 2020
b73c2a4
typo
lumosmind Nov 25, 2020
947afdd
Merge pull request #2297 from patrikbego/patch-2
iliakan Nov 25, 2020
36c0702
Merge pull request #2309 from vsemozhetbyt/patch-11
iliakan Nov 25, 2020
b3974b3
Merge pull request #2313 from vsemozhetbyt/patch-12
iliakan Nov 25, 2020
193e174
Fix possible typos in 4.1 (ArrayBuffer, binary arrays)
vsemozhetbyt Nov 25, 2020
a0b0d43
Merge pull request #2315 from vsemozhetbyt/patch-1
iliakan Nov 25, 2020
0eef950
minor fixes
iliakan Nov 25, 2020
0ac7894
minor fixes
iliakan Nov 25, 2020
fee6657
minor fixes
iliakan Nov 25, 2020
6ec4c4f
minor fixes
iliakan Nov 25, 2020
91da65d
Fix typos in 4.3 (Blob)
vsemozhetbyt Nov 25, 2020
2793f33
Fix typo in 5.2 (FormData)
vsemozhetbyt Nov 26, 2020
ae6f990
Add missing parenthesis in 5.6 (Fetch API)
vsemozhetbyt Nov 27, 2020
b79964a
Fix typos in 5.8 (XMLHttpRequest)
vsemozhetbyt Nov 28, 2020
513d36e
Expand a note in 5.8 (XMLHttpRequest)
vsemozhetbyt Nov 28, 2020
0f0a0c5
Replace deprecated property in 5.9 (Resumable file upload)
vsemozhetbyt Nov 28, 2020
8c7b981
Add information about virtual/mobile keyboards and an additional keyb…
Danziger Nov 28, 2020
c828fe3
Fix typo in 5.11 (WebSocket)
vsemozhetbyt Nov 29, 2020
e558805
fixes #2326
iliakan Nov 29, 2020
d2ebb42
Merge pull request #2288 from lumosmind/patch-54
iliakan Nov 29, 2020
b852cfe
Update article.md
joaquinelio Nov 29, 2020
ebd774d
Update 7-animation/2-css-animations/article.md
iliakan Nov 29, 2020
00f138c
Merge pull request #2140 from peachesontour/patch-14
iliakan Nov 29, 2020
6f7d9cf
minor fixes
iliakan Nov 29, 2020
8e6ace0
Merge pull request #2325 from vsemozhetbyt/patch-7
iliakan Nov 29, 2020
59c5400
Merge pull request #2324 from vsemozhetbyt/p5.9
iliakan Nov 29, 2020
277374f
Merge pull request #2323 from vsemozhetbyt/patch-6
iliakan Nov 29, 2020
4697b7b
Merge pull request #2322 from vsemozhetbyt/patch-5
iliakan Nov 29, 2020
8b98721
Merge pull request #2321 from vsemozhetbyt/patch-4
iliakan Nov 29, 2020
d05bbe0
Merge pull request #2320 from vsemozhetbyt/patch-3
iliakan Nov 29, 2020
574dd84
closes #2319
iliakan Nov 29, 2020
361c702
Merge pull request #2316 from vsemozhetbyt/patch-2
iliakan Nov 29, 2020
9065fd3
Merge pull request #2302 from patrikbego/patch-3
iliakan Nov 29, 2020
e1a3f63
Merge pull request #2327 from joaquinelio/patch-4
iliakan Nov 29, 2020
b1bee55
Fix typo in 1.99.1 (Proxy and Reflect)
vsemozhetbyt Nov 29, 2020
34e711c
Fix typo, add info in 1.11.5 (Promise API)
vsemozhetbyt Nov 29, 2020
5aebb89
Fix typos in 1.5.8 (WeakMap and WeakSet)
vsemozhetbyt Nov 29, 2020
00d2f33
Fix typo and ambiguity in 5.12 (Server Sent Events)
vsemozhetbyt Nov 30, 2020
79f3caf
Fix for issue #2314
joneskj55 Dec 1, 2020
6abb98b
Fix possible typos in 6.1 (Cookies, document.cookie)
vsemozhetbyt Dec 1, 2020
7ffb6ce
fix typo "colector" => "collector"
FantasqueX Dec 2, 2020
fd85fc5
Fix possible typos in 6.3 (IndexedDB)
vsemozhetbyt Dec 2, 2020
5c0ea29
Update article.md
Heikrana Dec 3, 2020
21dc138
Fix typo in 7.1 (Bezier curve)
vsemozhetbyt Dec 3, 2020
634e066
Update 1-js/02-first-steps/08-operators/article.md
Heikrana Dec 3, 2020
3d86152
Update article.md
Heikrana Dec 3, 2020
0928178
Fix typo in 7.2 (CSS-animations)
vsemozhetbyt Dec 3, 2020
d4c23dc
Fix bug: Clock can't be stopped when 'Start' clicked while running
PGlivicky Dec 4, 2020
6118cc0
Add a missing bracket in the solution description
PGlivicky Dec 4, 2020
268159c
Fix typo.
odsantos Dec 4, 2020
44f4795
selection
iliakan Dec 4, 2020
e112b8b
Merge pull request #2349 from odsantos/fix-arrays-typos
iliakan Dec 5, 2020
f274f4d
Merge pull request #2347 from PGlivicky/fix-clock-setinterval-solution
iliakan Dec 5, 2020
b65c625
Merge pull request #2343 from vsemozhetbyt/patch-11
iliakan Dec 5, 2020
ff40f49
Merge pull request #2342 from vsemozhetbyt/patch-10
iliakan Dec 5, 2020
3d4a6e9
Fix typos in 7.3 (JavaScript animations)
vsemozhetbyt Dec 5, 2020
441e720
Fix typo in 6.2 (LocalStorage, sessionStorage)
vsemozhetbyt Dec 1, 2020
9fab25a
Merge pull request #2329 from vsemozhetbyt/patch-2
iliakan Dec 5, 2020
75302a6
Merge pull request #2330 from vsemozhetbyt/patch-3
iliakan Dec 5, 2020
386870d
minor fixes
iliakan Dec 5, 2020
38407b1
Merge pull request #2351 from vsemozhetbyt/7.3
iliakan Dec 5, 2020
b563d4d
Merge pull request #2331 from vsemozhetbyt/patch-4
iliakan Dec 5, 2020
528b7c5
Merge pull request #2332 from vsemozhetbyt/patch-5
iliakan Dec 5, 2020
762162f
Merge pull request #2334 from joneskj55/patch-1
iliakan Dec 5, 2020
ad1df4e
Merge pull request #2336 from vsemozhetbyt/patch-6
iliakan Dec 5, 2020
59acd01
Merge pull request #2337 from vsemozhetbyt/patch-7
iliakan Dec 5, 2020
0db83b2
Merge branch 'master' into patch-1
iliakan Dec 5, 2020
d319026
Merge pull request #2338 from FantasqueX/patch-1
iliakan Dec 5, 2020
2741d5e
Merge pull request #2340 from vsemozhetbyt/patch-8
iliakan Dec 5, 2020
5ce6ce9
minor fixes
iliakan Dec 5, 2020
6d9ab12
fixes #2333
iliakan Dec 5, 2020
75a56da
fixes #2318
iliakan Dec 5, 2020
a964025
closes #2317
iliakan Dec 5, 2020
08cc593
minor fixes
iliakan Dec 5, 2020
6daaaa2
Update article.md
iliakan Dec 5, 2020
63d0f05
closes #2244
iliakan Dec 5, 2020
ec4dcb2
closes #2353
iliakan Dec 5, 2020
0585eda
closes #2248
iliakan Dec 5, 2020
211e209
closes #2225
iliakan Dec 5, 2020
b55c226
Fix typo in 8.2 (Custom elements)
vsemozhetbyt Dec 5, 2020
e8d29cb
closes #2173
iliakan Dec 6, 2020
bb5c89a
Merge pull request #2354 from vsemozhetbyt/patch-1
iliakan Dec 6, 2020
e194ec2
Fix typo in 8.3 (Shadow DOM)
vsemozhetbyt Dec 6, 2020
433ef6d
Merge pull request #2355 from vsemozhetbyt/patch-1
iliakan Dec 6, 2020
eb81e52
Fix possible typos in 1.3.6 (Polyfills and transpilers)
vsemozhetbyt Dec 6, 2020
f30b4f2
Merge pull request #2356 from vsemozhetbyt/patch-1
iliakan Dec 6, 2020
68dfa95
minor fixes
iliakan Dec 6, 2020
59a579f
Sync examples from 2 commits in 8.5 (Shadow DOM slots...)
vsemozhetbyt Dec 6, 2020
c56e6a5
Merge pull request #2357 from vsemozhetbyt/patch-1
iliakan Dec 6, 2020
76b42c3
Fix typo in 8.5 (Shadow DOM slots...)
vsemozhetbyt Dec 6, 2020
1e4b9e4
Merge pull request #2359 from vsemozhetbyt/patch-1
iliakan Dec 7, 2020
0936245
Merge pull request #2341 from vsoni101/patch-1
iliakan Dec 7, 2020
79c9513
closes #2358
iliakan Dec 7, 2020
adab443
Fixed small typo
RapTho Dec 7, 2020
5be2c04
Fix typo in 9.1 (Patterns and flags)
vsemozhetbyt Dec 7, 2020
e87f130
Merge pull request #2362 from vsemozhetbyt/patch-1
iliakan Dec 7, 2020
2cf95d8
Fix some issues in 9.2 (Character classes)
vsemozhetbyt Dec 7, 2020
7c73f64
Replace unicode with Unicode all over the book
vsemozhetbyt Dec 7, 2020
633db6f
Merge pull request #2364 from vsemozhetbyt/unicode
iliakan Dec 7, 2020
907e6c8
Fix "polyfills" typo
odsantos Dec 7, 2020
6a61c04
Fix confusing wording in 9.6 (Word boundary: \b)
vsemozhetbyt Dec 7, 2020
935ed85
Fix typo in 9.7 (Escaping, special characters)
vsemozhetbyt Dec 7, 2020
4a3d842
Fix typo in 9.8 task solution (Sets and ranges [...])
vsemozhetbyt Dec 8, 2020
b19312e
Update support note in 9.8 (Sets and ranges [...])
vsemozhetbyt Dec 8, 2020
6567009
Fix typos in 9.10 (Greedy and lazy quantifiers)
vsemozhetbyt Dec 8, 2020
f2f6500
Fix typos in 9.11 (Capturing groups)
vsemozhetbyt Dec 9, 2020
276f48d
Fix typos in 9.13 (Alternation (OR) |)
vsemozhetbyt Dec 9, 2020
6fc5b2c
Correct example in 9.14 (Lookahead and lookbehind)
vsemozhetbyt Dec 9, 2020
20916d9
Make solution in 9.14 safer
vsemozhetbyt Dec 9, 2020
ec15bd2
Fix typo in 1.99.1 (Proxy and Reflect)
jasonvitagendev Dec 10, 2020
e5d1c02
Fix typo, clarify wording in 9.15 (Catastrophic backtracking)
vsemozhetbyt Dec 10, 2020
4512a02
Update support note in 9.15 (Catastrophic backtracking)
vsemozhetbyt Dec 10, 2020
04ce728
Fix typo in 9.16 (Sticky flag "y"...)
vsemozhetbyt Dec 10, 2020
a8c22e9
Fix typo in 9.17 (Methods of RegExp and String)
vsemozhetbyt Dec 10, 2020
eb5e7da
Fixed typo
RapTho Dec 13, 2020
ba5ebbc
Merge pull request #2363 from vsemozhetbyt/patch-2
iliakan Dec 13, 2020
94c829e
Merge pull request #2384 from RapTho/master
iliakan Dec 13, 2020
92cdba0
Merge pull request #2383 from vsemozhetbyt/patch-12
iliakan Dec 13, 2020
16fda1b
Merge pull request #2381 from vsemozhetbyt/patch-11
iliakan Dec 13, 2020
19d1e33
Merge pull request #2379 from vsemozhetbyt/patch-10
iliakan Dec 13, 2020
27c3030
minor fixes
iliakan Dec 13, 2020
f716a91
minor fixes
iliakan Dec 13, 2020
4e1ab89
Merge pull request #2378 from vsemozhetbyt/patch-9
iliakan Dec 13, 2020
6fee9f0
Merge pull request #2377 from jasonvitagendev/master
iliakan Dec 13, 2020
c59c9e8
Merge pull request #2376 from vsemozhetbyt/patch-8
iliakan Dec 13, 2020
093dfe4
Merge pull request #2375 from vsemozhetbyt/patch-7
iliakan Dec 13, 2020
aae708d
Merge pull request #2374 from vsemozhetbyt/patch-6
iliakan Dec 13, 2020
e1cb0f8
Merge pull request #2373 from vsemozhetbyt/9.11
iliakan Dec 13, 2020
a1736bd
Merge pull request #2372 from vsemozhetbyt/9.10
iliakan Dec 13, 2020
985dedb
Merge pull request #2371 from vsemozhetbyt/patch-5
iliakan Dec 13, 2020
76f0732
Merge pull request #2370 from vsemozhetbyt/patch-4
iliakan Dec 13, 2020
0543fee
Merge pull request #2369 from vsemozhetbyt/patch-3
iliakan Dec 13, 2020
fd2e83c
Merge pull request #2368 from vsemozhetbyt/patch-1
iliakan Dec 13, 2020
9b68941
Merge pull request #2366 from odsantos/fix-polyfills-typo
iliakan Dec 13, 2020
8bc2e92
minor fixes
iliakan Dec 13, 2020
c275ba4
closes #2382
iliakan Dec 13, 2020
37e51e0
Typo "in any *of* language"
heypano Dec 13, 2020
23e85b3
Merge pull request #2385 from heypano/patch-1
iliakan Dec 13, 2020
7b21346
Typos + rephrasing
RapTho Dec 14, 2020
2b79ab1
minor fixes
iliakan Dec 14, 2020
7a7b25a
small rephrasings
RapTho Dec 14, 2020
9f2d200
Update 2-ui/3-event-details/7-keyboard-events/article.md
Danziger Dec 14, 2020
dfa5ec9
small reformulation
RapTho Dec 14, 2020
9a84c51
Fixed small typos
RapTho Dec 14, 2020
a43c18f
minor fixes
iliakan Dec 15, 2020
3a21dce
Add link to Kotlin/JS
tokou Dec 16, 2020
0427ecb
Reformulations
RapTho Dec 17, 2020
1af33d1
Give me five
joaquinelio Dec 20, 2020
5a14316
Update article.md
joaquinelio Dec 20, 2020
fc3f811
Merge pull request #2399 from joaquinelio/patch-2
iliakan Dec 20, 2020
f3555ee
fixed small typos
nazar-bodan Dec 20, 2020
13da056
closes #2401
iliakan Dec 22, 2020
cbdc268
Update article.md
imaverage Dec 24, 2020
33e25dc
Update article.md
Georgy-Losenkov Dec 25, 2020
83b051e
Change source of the term 'microtask'
raycon Dec 31, 2020
701392c
Merge pull request #2413 from raycon/master
iliakan Dec 31, 2020
6418344
closes #2411
iliakan Dec 31, 2020
2754e03
closes #2410
iliakan Dec 31, 2020
1404669
Merge pull request #2406 from Georgy-Losenkov/patch-1
iliakan Dec 31, 2020
b7d2820
Merge pull request #2391 from RapTho/patch-6
iliakan Dec 31, 2020
b0aa994
Merge pull request #2400 from wolfter12/fixed-small-typos
iliakan Dec 31, 2020
1fa08bc
Merge pull request #2404 from imaverage/patch-1
iliakan Dec 31, 2020
cc593c6
Update article.md
LLyaudet Dec 31, 2020
02089cf
Merge pull request #2393 from tokou/patch-1
iliakan Dec 31, 2020
98de4f4
Merge pull request #2386 from RapTho/patch-2
iliakan Dec 31, 2020
4a0da59
Merge pull request #2414 from LLyaudet/patch-2
iliakan Dec 31, 2020
b9481da
Edits based on feedback iliakan
RapTho Jan 2, 2021
bcbb5d5
Edit based on feedback iliakan
RapTho Jan 2, 2021
03b6d86
Edit based on feedback iliakan
RapTho Jan 2, 2021
04b1313
Remove keyjs.dev link under the key codes inspection snippet.
Danziger Jan 3, 2021
039716d
Merge pull request #2389 from Danziger/patch-1
iliakan Jan 3, 2021
16ac397
kotlin 404
joaquinelio Jan 4, 2021
e730c5a
Merge pull request #2416 from joaquinelio/patch-1
iliakan Jan 4, 2021
c67f8b8
Merge pull request #2388 from RapTho/patch-4
iliakan Jan 4, 2021
51f3915
Merge pull request #2390 from RapTho/patch-5
iliakan Jan 4, 2021
42ee148
Merge pull request #2395 from RapTho/patch-8
iliakan Jan 4, 2021
c350514
minor
iliakan Jan 7, 2021
32518b7
minor
iliakan Jan 7, 2021
80c4901
all operators must return a value
lumosmind Jan 7, 2021
a2561dc
Minor output typo
TaylorClay Jan 7, 2021
2229a48
Update article.md
martynov-94 Jan 8, 2021
5965ae7
Update currying function to use bind instead of wrapper pass
lakbychance Jan 9, 2021
997f392
Add the (2) point reference
lakbychance Jan 9, 2021
3b7d493
closes #2421
iliakan Jan 9, 2021
18a60ab
Merge pull request #2420 from martynov-94/patch-1
iliakan Jan 9, 2021
930485b
Merge pull request #2419 from TaylorClay/patch-1
iliakan Jan 9, 2021
12b23c7
Merge pull request #2417 from lumosmind/patch-55
iliakan Jan 9, 2021
6113f33
Merge pull request #2422 from lapstjup/patch-1
iliakan Jan 9, 2021
2027939
minor fixes
iliakan Jan 9, 2021
6a432df
parameters are also local variables
lumosmind Jan 9, 2021
86a6021
minor fixes
iliakan Jan 10, 2021
468e355
Merge pull request #2423 from lumosmind/patch-56
iliakan Jan 10, 2021
16b92d1
merging all conflicts
iliakan Jan 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions 1-js/01-getting-started/1-intro/article.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# مقدّمة للجافاسكربت

<<<<<<< HEAD
دعونا نرى ما يميز الجافاسكريبت ، وما يمكننا تحقيقه بها ، وأي التقنيات الأخرى التي تعمل بشكل جيد معها.
=======
Let's see what's so special about JavaScript, what we can achieve with it, and what other technologies play well with it.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

## ماهي الجافاسكربت؟

Expand Down Expand Up @@ -28,7 +32,13 @@
- [سبايدر مونكي](https://ar.wikipedia.org/wiki/سبايدر_مونكي_(محرك_جافا_سكريبت)) -- في فايرفوكس.
- ...هناك أسماء رمزية أخرى مثل "تريدانت" و "تشاكرا" لاصدارات مختلفه من انترنت اكسبلورر، "تشاكرا كور" لمايكروسوفت إيدج، "نيترو" و "سكيرلفيش" لسفاري، إلخ.

<<<<<<< HEAD
من الجيد تذكر المصطلحات الواردة أعلاه لأنها مستخدمة في مقالات المطورين على الإنترنت. سنستخدمهم أيضًا. على سبيل المثال ، إذا كانت "الميزة إكس مدعومة بواسطة في8" ، فمن المحتمل أنها تعمل في كروم و أوبرا.
=======
- [V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- in Chrome and Opera.
- [SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- in Firefox.
- ...There are other codenames like "Chakra" for IE, "ChakraCore" for Microsoft Edge, "Nitro" and "SquirrelFish" for Safari, etc.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

```smart header="كيف تعمل المحركات؟"

Expand Down Expand Up @@ -110,15 +120,30 @@

أمثلة على هذه اللغات:

<<<<<<< HEAD
- [كوفي سكريبت](http://coffeescript.org/) هو "سكر نحوي" لجافا سكريبت. إنه يقدم بناء جمل أقصر ، مما يسمح لنا بكتابة كود أكثر وضوحًا ودقة. عادة ،مطورو الروبي يحبونها.
- يركز [تايب سكريبت](http://www.typescriptlang.org/) على إضافة "كتابة بيانات صارمة" لتبسيط تطوير ودعم الأنظمة المعقدة. تم تطويره بواسطة ميكروسوفت.
- يضيف [فلاو](http://flow.org/) أيضًا كتابة البيانات ، ولكن بطريقة مختلفة. تم تطويره بواسطة فايسبوك.
- [دارت](https://www.dartlang.org/) هي لغة قائمة بذاتها لها محركها الخاص الذي يعمل في بيئات غير المتصفح (مثل تطبيقات الهاتف المحمول) ، ولكن يمكن أيضًا تحويلها إلى جافاسكريبت. من تطوير جوجل.
=======
- [CoffeeScript](http://coffeescript.org/) is a "syntactic sugar" for JavaScript. It introduces shorter syntax, allowing us to write clearer and more precise code. Usually, Ruby devs like it.
- [TypeScript](http://www.typescriptlang.org/) is concentrated on adding "strict data typing" to simplify the development and support of complex systems. It is developed by Microsoft.
- [Flow](http://flow.org/) also adds data typing, but in a different way. Developed by Facebook.
- [Dart](https://www.dartlang.org/) is a standalone language that has its own engine that runs in non-browser environments (like mobile apps), but also can be transpiled to JavaScript. Developed by Google.
- [Brython](https://brython.info/) is a Python transpiler to JavaScript that enables the writing of applications in pure Python without JavaScript.
- [Kotlin](https://kotlinlang.org/docs/reference/js-overview.html) is a modern, concise and safe programming language that can target the browser or Node.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

هناك أكثر. بالطبع ، حتى لو استخدمنا إحدى اللغات المترجمة ، يجب أن نعرف أيضًا جافاسكريبت لفهم ما نقوم به حقًا.

## ملخص

<<<<<<< HEAD
- تم إنشاء الجافاسكريبت في البداية كلغة للمتصفح فقط ، ولكنها تُستخدم الآن في العديد من البيئات الأخرى أيضًا.
- تتمتع جافاسكريبت اليوم بمكانة فريدة باعتبارها لغة المتصفح الأكثر استخدامًا مع تكاملها التام مع HTML / CSS.
- هناك العديد من اللغات التي يتم "تحويلها" إلى الجافاسكريبت وتوفر ميزات معينة. يوصى بإلقاء نظرة عليهم ، على الأقل لفترة وجيزة ، بعد إتقان الجافاسكريبت.
=======
- JavaScript was initially created as a browser-only language, but it is now used in many other environments as well.
- Today, JavaScript has a unique position as the most widely-adopted browser language with full integration in HTML/CSS.
- There are many languages that get "transpiled" to JavaScript and provide certain features. It is recommended to take a look at them, at least briefly, after mastering JavaScript.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f
4 changes: 4 additions & 0 deletions 1-js/01-getting-started/4-devtools/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@

اضغط على F12 (أو الاختصار Cmd+Opt+J إذا كنت تستخدم نظام التشغيل «ماك») وسيفتح ذلك تلقائيًا أدوات المطوّر على لسان «الطرفية» (Console). وتظهر أدوات المطوّر تقريبًا بهذا الشكل:

<<<<<<< HEAD
يعتمد شكل أدوات المطوّر على إصدار متصفِّح Chrome الذي تستخدمه، إذ يختلف بشكل بسيط من إصدار إلى آخر.
- بإمكانك رؤية رسالة الخطأ باللون الأحمر. معنى الرسالة أن السكربت يحتوي على أمر غير معروف هو "lalala".
- لاحظ في أقصى اليمين وجود رابط إلى المصدر bug.html:12 مع رقم سطر الخطأ في الشيفرة.
=======
Developer tools are potent, they have many features. To start, we'll learn how to open them, look at errors, and run JavaScript commands.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

يظهر تحت رسالة الخطأ الرمز `<` باللون الأزرق، ويحدد «سطر الأوامر» (command line) الذي سنكتب عنده أوامر وتعليمات JavaScript. اضغط زر الإدخال Enter لتنفيذ الأمر بعد كتابته (أو Shift+Enter للانتقال إلى السطر التالي عند إدخال أمر متعدد الأسطر).

Expand Down
4 changes: 4 additions & 0 deletions 1-js/02-first-steps/01-hello-world/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@

## الوسم "script"

<<<<<<< HEAD
يمكن وضع برامج الجافاسكريبت في أي جزء في مستند HTML باستخدام وسم `<script>`.
=======
JavaScript programs can be inserted almost anywhere into an HTML document using the `<script>` tag.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

على سبيل المثال:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
let ourPlanetName = "Earth";
```

<<<<<<< HEAD
ملاحظة, نحن نستطيع كتابة أسم قصير مثل `planet`, ولكن قد لا يكون واضحًا ما يشير إليه الكوكب. من الجيد أن تكون أكثر تطولًا. علي الاقل يكون اسم المتغير ليس طويل للغاية.
=======
Note, we could use a shorter name `planet`, but it might not be obvious what planet it refers to. It's nice to be more verbose. At least until the variable isNotTooLong.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

## أسم الزائر الحالي

Expand Down
27 changes: 27 additions & 0 deletions 1-js/02-first-steps/05-types/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ n = 12.345;

## BigInt

<<<<<<< HEAD
في الجافا سكربت، النوع "رقم" لا يمثل الأعداد الصحيحة أكبر من <code>(2<sup>53</sup>-1)</code> ( `9007199254740991`)، أو أقل من <code>-(-2<sup>53</sup>-1)</code> للأرقام السالبة. إنها قيود فنية ناتجة عن تمثيلهم الداخلي.
=======
In JavaScript, the "number" type cannot represent integer values larger than <code>(2<sup>53</sup>-1)</code> (that's `9007199254740991`), or less than <code>-(2<sup>53</sup>-1)</code> for negatives. It's a technical limitation caused by their internal representation.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

لمعظم الأغراض هذا يكفي، لكن في بعض الأحيان نحتاج لأرقام كبيرة حقاً ، على سبيل المثال. للتشفير أو الطوابع الزمنية الدقيقة للميكرو ثانية.

Expand All @@ -82,10 +86,18 @@ const bigInt = 1234567890123456789012345678901234567890n;

بما أن أرقام من نوع `BigInt` نحتاجها نادراً ، لن يتم تغطيتها هنا ، لكن سيفرد لها فصل مخصص <info:bigint>. اقرأه عندما تحتاج لمثل هذه الأرقام الكبيرة.

<<<<<<< HEAD
```smart header="مشاكل توافقية"
الأن `BigInt` متوافق مع الفايرفوكس والكروم ،لكن ليست متوافقة مع سفاري/انترنت اكسبلورر/ايدج.
=======

```smart header="Compatibility issues"
Right now, `BigInt` is supported in Firefox/Chrome/Edge/Safari, but not in IE.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f
```

You can check [*MDN* BigInt compatibility table](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#Browser_compatibility) to know which versions of a browser are supported.

## String

النص في الجافا سكربت يتم إحاطته بعلامات تنصيص.
Expand Down Expand Up @@ -128,7 +140,11 @@ alert( "the result is ${1 + 2}" ); // the result is ${1 + 2} (علامات ال
```smart header="لا يوجد نوع *character* ."
في بعض اللغات، يوجد نوع خاص "character" يعبر عن الحرف الواحد. For example,على سبيل المثال، في لغة سي وجافا يدعى "char".

<<<<<<< HEAD
في الجافا سكربت، لا يوجد مثل هذا النوع. يوجد نوع واحد فقط: `string`. النص قد يتكون من حرف واحد أو أكثر.
=======
In JavaScript, there is no such type. There's only one type: `string`. A string may consist of zero characters (be empty), one character or many of them.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f
```

## Boolean (logical type)
Expand Down Expand Up @@ -256,6 +272,7 @@ typeof alert // "function" (3)

يوجد 8 أنواع للبيانات في جافا سكربت.

<<<<<<< HEAD
- `number` للأرقام من أي نوع: صحيح أو عشري، الأعداد الصحيحة محدودة بy ±2<sup>53</sup>.
- `bigint` هو عدد صحيح طوله كبير.
- `string` للنصوص. النص قد يحتوي على حرف أو أكثر، لا يوجد نوع منفصل للحرف الواحد.
Expand All @@ -264,6 +281,16 @@ typeof alert // "function" (3)
- `undefined` للقيم غير المعينة -- نوع قائم بذاته له قيمة واحدة فقط `undefined`.
- `object` من أجل هياكل بيانات معقدة.
- `symbol` من أجل معرفات فريدة.
=======
- `number` for numbers of any kind: integer or floating-point, integers are limited by <code>±(2<sup>53</sup>-1)</code>.
- `bigint` is for integer numbers of arbitrary length.
- `string` for strings. A string may have zero or more characters, there's no separate single-character type.
- `boolean` for `true`/`false`.
- `null` for unknown values -- a standalone type that has a single value `null`.
- `undefined` for unassigned values -- a standalone type that has a single value `undefined`.
- `object` for more complex data structures.
- `symbol` for unique identifiers.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

معامل `typeof` يسمح لنا بمعرفة نوع البيانات الموجودة بداخل المتغيرة.

Expand Down
8 changes: 8 additions & 0 deletions 1-js/02-first-steps/06-alert-prompt-confirm/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

## alert

<<<<<<< HEAD
هذه رأيناها بالفعل. إنها تظهر رسالة وتنتظر من المستخدم أن يضغط على "OK".
=======
This one we've seen already. It shows a message and waits for the user to press "OK".
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

على سبيل المثال:

Expand All @@ -31,7 +35,11 @@ result = prompt(title, [default]);
: معامل ثاني إختياري، القيمة الأولية لحقل الإدخال.

```smart header="The square brackets in syntax `[...]`"
<<<<<<< HEAD
الأقواس المربعة حول `default` في الكود أعلاه يوضح أن المعامل إختياري، ليس مطلوب.
=======
The square brackets around `default` in the syntax above denote that the parameter is optional, not required.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f
```

الزائر يستطيع كتابة أي شئ في حقل الإدخال ويضغط أوك. ثم نحصل على النص في `النتيجة`. أو يستطيع إلغاء الإدخال بالضغط على إلغاء أو الضغط على زرار `key:Esc` ، عندها سنحصل على `null` ك`result`.
Expand Down
4 changes: 4 additions & 0 deletions 1-js/02-first-steps/08-operators/4-fix-prompt/solution.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ let b = "2"; // prompt("Second number?", 2);
alert(a + b); // 12
```

<<<<<<< HEAD
ما يجب علينا فعله هو تحويل السلاسل إلى أرقام قبل `+`. على سبيل المثال ، استخدام `Number ()` أو إلحاقها بـ `+`.
=======
What we should do is to convert strings to numbers before `+`. For example, using `Number()` or prepending them with `+`.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

على سبيل المثال ، قبل "prompt" مباشرةً:

Expand Down
23 changes: 23 additions & 0 deletions 1-js/02-first-steps/08-operators/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,17 @@ alert(2 + 2 + '1' ); // "41" and not "221"

هنا العوامل الحسابية تعمل بعد الأخرى. عامل الإضافة الأول "+" يقوم بجمع الرقمين فيصبح ناتجهمها "4" ثم يقوم عامل الإضافة الثاني "+" بدمج "4" و "1" في كلمة واحدة فتصبح الناتج النهائي مثل `4 + '1' = 41`.

<<<<<<< HEAD
عامل الإضافة الثنائي "+" هو العامل الوحيد الذي يدعم الكلمات بهذه الطريقة
العوامل الحسابية الأخرى تعمل فقط مع الأرقام ودائما ما تحول المعاملات إلى أرقام
=======
```js run
alert('1' + 2 + 2); // "122" and not "14"
```
Here, the first operand is a string, the compiler treats the other two operands as strings too. The `2` gets concatenated to `'1'`, so it's like `'1' + 2 = "12"` and `"12" + 2 = "122"`.

The binary `+` is the only operator that supports strings in such a way. Other arithmetic operators work only with numbers and always convert their operands to numbers.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

هنا شرح مبسط لعملية الطرح والقسمة:

Expand Down Expand Up @@ -188,7 +197,11 @@ alert( +apples + +oranges ); // 5
هناك العديد من العوامل في JavaScript. لكل عامل رقم أسبقية مطابق. يتم تنفيذ واحد مع العدد الأكبر أولاً. إذا كانت الأسبقية هي نفسها ، فسيكون أمر التنفيذ من اليسار إلى اليمين.


<<<<<<< HEAD
إليك مقتطف من [جدول الأسبقية] (https://developer.mozilla.org/en/JavaScript/Reference/operators/operator_precedence) (لست بحاجة إلى تذكر ذلك ، ولكن لاحظ أن عوامل التشغيل الأحادية أعلى من الخيارات الثنائية المقابلة) منها):
=======
Here's an extract from the [precedence table](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence) (you don't need to remember this, but note that unary operators are higher than corresponding binary ones):
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

| الأسبقية | الاسم | تسجيل |
| ------------ | ------ | ------ |
Expand Down Expand Up @@ -224,7 +237,11 @@ alert( x ); // 5

ترجع معظم عوامل التشغيل في JavaScript قيمة. هذا واضح لـ `+` و` -` ، ولكنه ينطبق أيضًا على `=`.

<<<<<<< HEAD
تؤدي المكالمة `x = value` إلى كتابة` value` في `x` * ثم إرجاعها *.
=======
All operators in JavaScript return a value. That's obvious for `+` and `-`, but also true for `=`.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

في ما يلي عرض توضيحي يستخدم مهمة كجزء من تعبير أكثر تعقيدًا:

Expand Down Expand Up @@ -437,7 +454,13 @@ counter++;
- RIGHT SHIFT ( `>>` )
- ZERO-FILL RIGHT SHIFT ( `>>>` )

<<<<<<< HEAD
نادرًا ما يتم استخدام عوامل التشغيل هذه ، عندما نحتاج إلى التلاعب بالأرقام على أدنى مستوى (أحادي البتات). لن نحتاج إلى هؤلاء المشغلين في أي وقت قريب ، لأن تطوير الويب لا يستخدمهم كثيرًا ، ولكن في بعض المجالات الخاصة ، مثل التشفير ، فهي مفيدة. يمكنك قراءة مقالة [عوامل تشغيل Bitwise] (https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators) مقالة حول MDN عند الحاجة.
=======
These operators are used very rarely, when we need to fiddle with numbers on the very lowest (bitwise) level. We won't need these operators any time soon, as web development has little use of them, but in some special areas, such as cryptography, they are useful. You can read the [Bitwise Operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Bitwise) chapter on MDN when a need arises.

## Comma
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f

## الفاصلة

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ null === +"\n0\n" → false

بعض الأسباب:

<<<<<<< HEAD
1. من الواضح ، صحيح.
2. مقارنة القاموس ، وبالتالي خطأ. "" a "أصغر من" "p" ".
3. مرة أخرى ، مقارنة القاموس ، الحرف الأول من "2" أكبر من الحرف الأول من "1".
4. القيم "فارغة" و "غير محددة" تساوي بعضها البعض فقط.
5. المساواة الصارمة صارمة. أنواع مختلفة من كلا الجانبين تؤدي إلى خطأ.
6- على غرار "(4)` ، "فارغ" يساوي فقط "غير محدد".
7. المساواة الصارمة بمختلف أنواعها.
7. المساواة الصارمة بمختلف أنواعها.
=======
1. Obviously, true.
2. Dictionary comparison, hence false. `"a"` is smaller than `"p"`.
3. Again, dictionary comparison, first char `"2"` is greater than the first char `"1"`.
4. Values `null` and `undefined` equal each other only.
5. Strict equality is strict. Different types from both sides lead to false.
6. Similar to `(4)`, `null` only equals `undefined`.
7. Strict equality of different types.
>>>>>>> 468e3552884851fcef331fbdfd58096652964b5f
Loading