Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1985 commits
Select commit Hold shift + click to select a range
b83f2d7
Fix typos in 'Proxy and Reflect'
vsemozhetbyt Nov 4, 2020
422ef44
Fix outdated note in 1.99.04 (Reference Type)
vsemozhetbyt Nov 5, 2020
e25caae
Correct solution explanation in 1.99.04 (Reference Type)
vsemozhetbyt Nov 5, 2020
bf3c878
Fix link in 2.1.5 (Node properties...)
vsemozhetbyt Nov 5, 2020
b589f38
Merge pull request #2210 from leviding/patch-27
iliakan Nov 9, 2020
9e99c36
Merge pull request #2249 from vsemozhetbyt/patch-9
iliakan Nov 9, 2020
bd23930
Update article.md
leviding Nov 9, 2020
8f91294
Fix typos in 2.1.4 (Searching elements)
vsemozhetbyt Nov 9, 2020
a914bad
fix typo in 06-promisify article.md
ZhaoMuwei Nov 10, 2020
27f6935
Merge pull request #2250 from odsantos/fix-regexp-char-class-typo
iliakan Nov 10, 2020
fd6861e
Merge pull request #2251 from johnjacobkenny/patch-1
iliakan Nov 10, 2020
12a5cb0
Merge pull request #2252 from vsemozhetbyt/patch-10
iliakan Nov 10, 2020
ca9a022
Revert "Fix a typo in 1.11.3 (Promises chaining)"
iliakan Nov 10, 2020
032e18b
Merge pull request #2278 from javascript-tutorial/revert-2252-patch-10
iliakan Nov 10, 2020
2ff5eeb
Merge pull request #2255 from vsemozhetbyt/patch-11
iliakan Nov 10, 2020
48b111d
Merge pull request #2257 from vsemozhetbyt/1.11.8
iliakan Nov 10, 2020
96b9854
Merge pull request #2258 from vsemozhetbyt/patch-12
iliakan Nov 10, 2020
f782e9c
Merge pull request #2259 from satyambnsal/master
iliakan Nov 10, 2020
eba2280
Merge pull request #2260 from vsemozhetbyt/patch-13
iliakan Nov 10, 2020
21d44a0
Merge pull request #2261 from wam/change-var-to-let-in-regexp-sticky-…
iliakan Nov 10, 2020
e9a528f
Merge pull request #2262 from vsemozhetbyt/patch-14
iliakan Nov 10, 2020
bbe7e05
Merge pull request #2266 from vsemozhetbyt/1.99.1
iliakan Nov 10, 2020
876fded
Merge pull request #2270 from vsemozhetbyt/patch-15
iliakan Nov 10, 2020
2f4c29c
Merge pull request #2271 from vsemozhetbyt/patch-16
iliakan Nov 10, 2020
26b393a
Merge pull request #2272 from vsemozhetbyt/patch-17
iliakan Nov 10, 2020
a4194ce
look like ninja code
lumosmind Nov 10, 2020
211db88
Fix typo in 2.1.6 (Attributes and properties)
vsemozhetbyt Nov 10, 2020
59a2f34
Fix a typo in 1.11.3 (Promises chaining)
vsemozhetbyt Nov 10, 2020
7cb6387
Merge pull request #2281 from vsemozhetbyt/patch-10
iliakan Nov 11, 2020
29a7b66
Update article.md
iliakan Nov 11, 2020
fab613d
Merge pull request #2280 from vsemozhetbyt/patch-11
iliakan Nov 11, 2020
fd08e1c
Merge pull request #2279 from lumosmind/patch-53
iliakan Nov 11, 2020
22cf4b6
Merge pull request #2277 from ZhaoMuwei/patch-1
iliakan Nov 11, 2020
5607c77
Merge pull request #2276 from vsemozhetbyt/patch-18
iliakan Nov 11, 2020
5d7cba3
Merge pull request #2275 from leviding/patch-30
iliakan Nov 11, 2020
32d4f13
Merge pull request #2205 from vsemozhetbyt/patch-8
iliakan Nov 11, 2020
ad4bd59
Merge pull request #2204 from vsemozhetbyt/patch-7
iliakan Nov 11, 2020
611236f
Merge pull request #2203 from leviding/patch-25
iliakan Nov 11, 2020
331fafd
Merge pull request #2202 from leviding/patch-24
iliakan Nov 11, 2020
6df0982
FIX: minor typo error
leviding Nov 13, 2020
806e371
Update article.md
leviding Nov 13, 2020
fb43e39
Update article.md
leviding Nov 13, 2020
d977582
Update article.md
leviding Nov 13, 2020
ee2bc1c
Update article.md
leviding Nov 13, 2020
26d449c
Minor grammar alteration.
joneskj55 Nov 13, 2020
99e59ba
Update article.md
iliakan Nov 15, 2020
7a67741
Update article.md
leviding Nov 15, 2020
75e10e2
Update article.md
leviding Nov 15, 2020
cb62d6d
Update article.md
leviding Nov 15, 2020
a39f437
Update article.md
leviding Nov 15, 2020
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
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
2b79ab1
minor fixes
iliakan Dec 14, 2020
a43c18f
minor fixes
iliakan Dec 15, 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
7bf80e1
merging all conflicts
iliakan Dec 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 41 additions & 0 deletions 1-js/01-getting-started/1-intro/article.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
# O introducere în JavaScript

<<<<<<< HEAD
Să vedem ce e atât de special la JavaScript, ce putem realiza cu el și ce alte tehnologii se înțeleg bine cu acesta.
=======
Let's see what's so special about JavaScript, what we can achieve with it, and what other technologies play well with it.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

## Ce este JavaScript?

<<<<<<< HEAD
*JavaScript* a fost creat inițial pentru *"a da viață paginilor"*.
=======
*JavaScript* was initially created to "make web pages alive".
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

În acest limbaj programele sunt numite *script-uri*(scripts). Acestea pot fi scrise direct în HTML și executate în mod automat pe măsură ce pagina se încarcă.

Script-urile sunt furnizate și executate ca și text simplu. Ele nu au nevoie de pregătire specială sau de compilare pentru a rula.

În ceea ce privește acest aspect, JavaScript este foarte diferit față de un alt limbaj cu nume asemănător, [Java](https://en.wikipedia.org/wiki/Java_(programming_language)).

<<<<<<< HEAD
```smart header="Why <u>Java</u>Script?"
Când JavaScript a fost creat, inițial avea un alt nume: "LiveScript". Dar la acel moment limbajul Java era foarte popular, așa s-a decis că poziționarea unui nou limbaj ca și "frate mai mic" al lui Java, va ajuta.
=======
```smart header="Why is it called <u>Java</u>Script?"
When JavaScript was created, it initially had another name: "LiveScript". But Java was very popular at that time, so it was decided that positioning a new language as a "younger brother" of Java would help.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Dar cum acesta a evoluat, JavaScript a devenit un limbaj complet independent, cu propriile specificații, numite [ECMAScript](http://en.wikipedia.org/wiki/ECMAScript), iar acum nu mai are nici o legătură cu Java.
```
Expand All @@ -24,9 +37,15 @@ Browser-ul are un motor încorporat, uneori denumit "mașină virtuală JavaScri

Diferite motoare au diferite "nume de cod", spre exemplu:

<<<<<<< HEAD
- [V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- în Chrome și Opera.
- [SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- în Firefox.
- ...Mai există și alte nume de cod precum "Trident" și "Chakra" pentru diferite versiuni de IE, "ChakraCore" pentru Microsoft Edge, "Nitro" și "SquirrelFish" pentru Safari, etc.
=======
- [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.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Termenii de mai sus sunt bine de știut, pentru că ei sunt folosiți în articole ale dezvoltatorilor, pe internet. De exemplu dacă "o caracteristică(feature) X este suportată de către V8", atunci probabil că merge și în Chrome și în Opera.

Expand All @@ -38,7 +57,11 @@ Motoarele sunt complicate. Dar bazele sunt ușoare.
2. Apoi convertește("compilează") script-ul în limbajul mașină.
3. Apoi codul mașină rulează, destul de repede.

<<<<<<< HEAD
Motorul aplică optimizări la fiecare stadiu al procesului. Ba chiar observă script-ul compilat cum rulează, analizează datele care trec prin el și aplică optimizări asupra codului mașină, bazate pe informațiile strânse. La sfârșit script-urile rulează destul de repede.
=======
The engine applies optimizations at each step of the process. It even watches the compiled script as it runs, analyzes the data that flows through it, and further optimizes the machine code based on that knowledge.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f
```

## Ce poate JavaScript-ul din browser să facă?
Expand All @@ -63,7 +86,11 @@ Abilitățile JavaScript-ului din browser sunt limitate pentru siguranța utiliz

Exemplele acestor restricții sunt:

<<<<<<< HEAD
- JavaScript, pe o pagină web, nu poate citi/scrie fișiere arbitrare pe hard disk, nu le poate copia sau să execute programe. Nu are acces direct la funcțiile sistemului de operare.
=======
- JavaScript on a webpage may not read/write arbitrary files on the hard disk, copy them or execute programs. It has no direct access to OS functions.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Browserele moderne îi permit să lucreze cu fișiere, dar accesul este limitat și furnizat doar dacă utilizatorul realizează anumite acțiuni, cum ar fi "scăparea" unui fișier într-o fereastră de browser sau selectarea lui printr-un tag `<input>`.

Expand Down Expand Up @@ -106,15 +133,29 @@ Uneltele moderne fac transpilarea foarte rapidă și transparentă, permițând

Exemple de astfel de limbaje:

<<<<<<< HEAD
- [CoffeeScript](http://coffeescript.org/) este un "zahăr sintactic" pentru JavaScript, el introduce sintaxă mai scurtă, permițând scrierea de cod mai clar și mai precis. De obicei dezvoltatorii Ruby îl plac.
- [TypeScript](http://www.typescriptlang.org/) este concentrat pe adăugarea de "tipizare strictă de date", pentru a simplifica dezvoltarea și suportul sistemelor complexe. Este dezvoltat de Microsoft.
- [Flow](http://flow.org/) adaugă tipizarea datelor, dar într-un mod diferit. Dezvoltate de Facebook.
- [Dart](https://www.dartlang.org/) este un limbaj standalone care are propriul său motor care rulează în medii non-browser(precum aplicațiile mobile). A fost oferit inițial de către Google ca și un înlocuitor pentru JavaScript, dar de acum browserele necesită ca acesta să fie transpilat în JavaScript la fel ca cele de mai sus.
=======
- [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.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Există mai multe. Desigur, chiar dacă folosim unul dintre aceste limbaje, ar trebui de asemenea să știm JavaScript, pentru a înțelege cu adevărat ce facem.

## Rezumat

<<<<<<< HEAD
- JavaScript a fost creat inițial ca limbaj doar pentru browser(browser-only), dar acum este de asemenea folosit în multe alte medii.
- La momentul actual, JavaScript deține o poziție unică ca cel mai răspândit și adoptat limbaj browser cu integrare completă cu HTML/CSS.
- Există multe limbaje care sunt "transpilate" în JavaScript și furnizează anumite caracteristici. Este recomandat să arunci o privire peste ele, în linii mari, după ce stăpânești JavaScript.
=======
- 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.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f
8 changes: 8 additions & 0 deletions 1-js/01-getting-started/2-manuals-specifications/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ Această carte este un *tutorial*. Are ca obiectiv să te ajute să înveți tre

## Specificații

<<<<<<< HEAD
**Specificația ECMA-262** conține cea mai în profunzime, detaliată și formalizată informație despre JavaScript. Aceasta definește limbajul.
=======
[The ECMA-262 specification](https://www.ecma-international.org/publications/standards/Ecma-262.htm) contains the most in-depth, detailed and formalized information about JavaScript. It defines the language.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Dar fiind atât de formalizată, este grea de înțeles la început. Deci dacă ai nevoie de cea mai de încredere sursă de informație despre detaliile limbajului, specificațiile sunt locul potrivit. Dar nu sunt pentru uzul obișnuit.

<<<<<<< HEAD
Ultima schiță este la <https://tc39.es/ecma262/>.
=======
A new specification version is released every year. In-between these releases, the latest specification draft is at <https://tc39.es/ecma262/>.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Pentru a citi despre noile caracteristici avansate, incluzând acelea care sunt "aproape standard" (așa-numita "etapă a treia"), vezi propunerile la <https://github.com/tc39/proposals>.

Expand Down
5 changes: 5 additions & 0 deletions 1-js/01-getting-started/3-code-editors/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ Diferența majoră dintre un editor de "categorie ușoară" și un "IDE" este c

Următoarele opțiuni merită atenția ta:

<<<<<<< HEAD
- [Atom](https://atom.io/) (cross-platform, gratuit).
=======
- [Atom](https://atom.io/) (cross-platform, free).
- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free).
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f
- [Sublime Text](http://www.sublimetext.com) (cross-platform, shareware).
- [Notepad++](https://notepad-plus-plus.org/) (Windows, gratuit).
- [Vim](http://www.vim.org/) și [Emacs](https://www.gnu.org/software/emacs/) sunt de asemenea utile dacă știi cum să le folosești.
Expand Down
17 changes: 17 additions & 0 deletions 1-js/01-getting-started/4-devtools/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ Pentru a vedea erorile și o mulțime de alte informații utile despre scripturi

Cei mai mulți dezvoltatori înclină spre Chrome sau Firefox pentru dezvoltare deoarece aceste browsere au cele mai bune unelte de dezvoltare. Alte browsere au și ele unelte de dezvoltare, unele cu facilități speciale, dar în general încearcă să ajungă din urmă Chrome și Firefox. Așadar, cei mai mulți dezvoltatori au un *browser* preferat dar folosesc alte browsere când apare o problemă specifică unui browser anume.

<<<<<<< HEAD
Uneltele de dezvoltare sunt foarte puternice; ele au multe facilități. Pentru început, vom învăța cum să le deschidem, să ne uităm la erori, să executăm comenzi JavaScript.
=======
Developer tools are potent, they have many features. To start, we'll learn how to open them, look at errors, and run JavaScript commands.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

## Google Chrome

Expand All @@ -29,10 +33,19 @@ Aspectul exact al uneltelor de dezvoltare depinde de versiunea de Chrome folosit
- Aici vedem mesajul colorat în roșu. În acest caz, scriptul conține o comandă necunoscută, "lalala".
- În partea dreaptă se află un link către sursa `bug.html:12`, cu numărul liniei pe care a apărut eroarea.

<<<<<<< HEAD
Sub mesajul de eroare se află un simbol `>` albastru. El marchează o "linie de comandă" unde putem introduce comenzi JavaScript. Apăsați `key:Enter` ca să le rulați (`key:Shift+Enter` pentru a introduce comenzi pe mai multe linii).
=======
Below the error message, there is a blue `>` symbol. It marks a "command line" where we can type JavaScript commands. Press `key:Enter` to run them.
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

Pentru moment putem vedea erorile și asta e suficient pentru început. Vom reveni mai târziu la uneltele de dezvoltare și vom detalia depanarea în capitolul <info:debugging-chrome>.

```smart header="Multi-line input"
Usually, when we put a line of code into the console, and then press `key:Enter`, it executes.

To insert multiple lines, press `key:Shift+Enter`. This way one can enter long fragments of JavaScript code.
```

## Firefox, Edge, și altele

Expand All @@ -50,13 +63,17 @@ Deschideți preferințele (Preferences) și mergeți în secțiunea de setări a

Acum, cu tastele `key:Cmd+Opt+C` puteți afișa sau ascunde consola. De asemenea, în meniul principal a apărut opțiunea "Develop". Are multe comenzi și opțiuni.

<<<<<<< HEAD
```smart header="Multi-line input"
În mod obișnuit, când introducem o linie de cod în consolă și apoi apăsăm `key:Enter`, codul se execută.

Pentru a introduce mai multe linii, apăsați `key:Shift+Enter`. În acest fel oricine poate insera fragmente lungi de cod JavaScript.
```

## Rezumat
=======
## Summary
>>>>>>> fc3f811c03ca97ff8304271bb2b918413bed720f

- Uneltele de dezvoltare ne permit să vedem erori, să executăm comenzi, să evaluăm variabile și multe altele.
- Ele pot fi deschise cu tasta `key:F12` în majoritatea browserelor, pe Windows. Chrome pentru Mac folosește `key:Cmd+Opt+J`, Safari: `key:Cmd+Opt+C` (dar trebuie întâi activat).
Expand Down
12 changes: 12 additions & 0 deletions 1-js/02-first-steps/01-hello-world/1-hello-alert/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>

<body>

<script>
alert( "I'm JavaScript!" );
</script>

</body>

</html>
2 changes: 2 additions & 0 deletions 1-js/02-first-steps/01-hello-world/1-hello-alert/solution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

[html src="index.html"]
8 changes: 4 additions & 4 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,7 @@ So first, let's see how we attach a script to a webpage. For server-side environ

## The "script" tag

JavaScript programs can be inserted into any part of an HTML document with the help of the `<script>` tag.
JavaScript programs can be inserted almost anywhere into an HTML document using the `<script>` tag.

For instance:

Expand Down Expand Up @@ -46,7 +46,7 @@ The `<script>` tag contains JavaScript code which is automatically executed when
The `<script>` tag has a few attributes that are rarely used nowadays but can still be found in old code:

The `type` attribute: <code>&lt;script <u>type</u>=...&gt;</code>
: The old HTML standard, HTML4, required a script to have a `type`. Usually it was `type="text/javascript"`. It's not required anymore. Also, the modern HTML standard totally changed the meaning of this attribute. Now, it can be used for JavaScript modules. But that's an advanced topic; we'll talk about modules in another part of the tutorial.
: The old HTML standard, HTML4, required a script to have a `type`. Usually it was `type="text/javascript"`. It's not required anymore. Also, the modern HTML standard totally changed the meaning of this attribute. Now, it can be used for JavaScript modules. But that's an advanced topic, we'll talk about modules in another part of the tutorial.

The `language` attribute: <code>&lt;script <u>language</u>=...&gt;</code>
: This attribute was meant to show the language of the script. This attribute no longer makes sense because JavaScript is the default language. There is no need to use it.
Expand All @@ -60,7 +60,7 @@ Comments before and after scripts.
//--></script>
```

This trick isn't used in modern JavaScript. These comments hid JavaScript code from old browsers that didn't know how to process the `<script>` tag. Since browsers released in the last 15 years don't have this issue, this kind of comment can help you identify really old code.
This trick isn't used in modern JavaScript. These comments hide JavaScript code from old browsers that didn't know how to process the `<script>` tag. Since browsers released in the last 15 years don't have this issue, this kind of comment can help you identify really old code.


## External scripts
Expand All @@ -78,7 +78,7 @@ Here, `/path/to/script.js` is an absolute path to the script from the site root.
We can give a full URL as well. For instance:

```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.2.0/lodash.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.js"></script>
```

To attach several scripts, use multiple tags:
Expand Down
4 changes: 2 additions & 2 deletions 1-js/02-first-steps/02-structure/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ But it should be two separate statements, not one. Such a merging in this case i

We recommend putting semicolons between statements even if they are separated by newlines. This rule is widely adopted by the community. Let's note once again -- *it is possible* to leave out semicolons most of the time. But it's safer -- especially for a beginner -- to use them.

## Comments
## Comments [#code-comments]

As time goes on, programs become more and more complex. It becomes necessary to add *comments* which describe what the code does and why.

Expand Down Expand Up @@ -136,7 +136,7 @@ alert('World');
```

```smart header="Use hotkeys!"
In most editors, a line of code can be commented out by pressing the `key:Ctrl+/` hotkey for a single-line comment and something like `key:Ctrl+Shift+/` -- for multiline comments (select a piece of code and press the hotkey). For Mac, try `key:Cmd` instead of `key:Ctrl`.
In most editors, a line of code can be commented out by pressing the `key:Ctrl+/` hotkey for a single-line comment and something like `key:Ctrl+Shift+/` -- for multiline comments (select a piece of code and press the hotkey). For Mac, try `key:Cmd` instead of `key:Ctrl` and `key:Option` instead of `key:Shift`.
```

````warn header="Nested comments are not supported!"
Expand Down
Loading