Skip to content

Sync with upstream @ c89ddc5d #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 331 commits into from
May 9, 2020
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
331 commits
Select commit Hold shift + click to select a range
642c701
Merge branch 'master' into patch-7
jchue Jan 2, 2020
a4a8408
Merge pull request #1700 from dashaezhova/patch-1
lex111 Jan 6, 2020
4489949
Fix typo
baooab Jan 9, 2020
7f26b91
Update 'Selection and Range' article.md
dashaezhova Jan 14, 2020
5050e72
Translated tasks to English
imabp Jan 14, 2020
2bc3c29
Translated line 10 content to English
imabp Jan 14, 2020
8523ab7
Translated Solution from Russian to English
imabp Jan 14, 2020
1a22912
Translated to English and updated.
imabp Jan 14, 2020
92658d2
Fix typo
Jan 15, 2020
e817e10
Function return example update
mdizo Jan 16, 2020
00d1051
Merge pull request #1710 from mdizo/master
iliakan Jan 16, 2020
01b3ce6
minor fixes
iliakan Jan 16, 2020
4f756bb
Merge pull request #1708 from dpyzo0o/master
iliakan Jan 16, 2020
6c00296
Change panel names according to official documentation
tarasyyyk Jan 16, 2020
1e47d90
article.md
vavlza Jan 18, 2020
49ebe88
Merge pull request #1665 from jchue/patch-7
iliakan Jan 18, 2020
b2d69c1
Merge pull request #1704 from baooab/patch-3
iliakan Jan 18, 2020
f3e4ebb
Merge pull request #1706 from dashaezhova/patch-1
iliakan Jan 18, 2020
c6b6bc3
Update article.md
paroche Jan 19, 2020
fceb83e
Merge pull request #1714 from javascript-tutorial/paroche-patch-12
paroche Jan 19, 2020
492b6e1
Update article.md
paroche Jan 19, 2020
b9bb854
Merge branch 'master' into patch-2
iliakan Jan 19, 2020
c92effe
Merge pull request #1660 from jchue/patch-2
iliakan Jan 19, 2020
e9cdefa
Merge pull request #1713 from va-z/patch-4
iliakan Jan 19, 2020
1e475bf
Merge pull request #1711 from tarasyyyk/master
iliakan Jan 19, 2020
b5ea34c
Merge pull request #1707 from imabp/master
iliakan Jan 19, 2020
6384ccb
minor fixes
iliakan Jan 19, 2020
7cd8f55
minor fixes
iliakan Jan 19, 2020
db3b3f8
minor fixes
iliakan Jan 19, 2020
3a071c9
fix typo
baooab Jan 20, 2020
4e4144b
fix: spell correction to existence
zeel Jan 21, 2020
5ea9b55
Update article.md
paroche Jan 22, 2020
f186b7c
Update article.md
paroche Jan 22, 2020
cae000f
Update article.md
paroche Jan 23, 2020
ff042a0
Merge pull request #1717 from zeel/typo/bug-object-fix
iliakan Jan 24, 2020
5a71d10
Merge pull request #4 from javascript-tutorial/master
aniketkudale Jan 26, 2020
e85e48f
minor fixes
Violet-Bora-Lee Jan 27, 2020
4973824
Update article.md
Beginnerds Jan 28, 2020
a9f1dde
Merge pull request #1723 from Violet-Bora-Lee/master
iliakan Jan 28, 2020
bd6052f
Merge pull request #1715 from baooab/patch-4
iliakan Jan 28, 2020
6dbd306
Fixing a typo
sohailashraf003 Jan 29, 2020
c8b717e
Update article.md
paroche Jan 29, 2020
58205b3
Update article.md
paroche Jan 29, 2020
fbf76fe
Fix typo in 11-coordinates/article.md
devy-bee Jan 29, 2020
c498fc6
adding the `[^]` pattern
KennethKinLum Jan 29, 2020
05b0360
Merge pull request #1726 from sohailashraf003/patch-1
lex111 Jan 30, 2020
a035351
Merge pull request #1728 from hongsidev/master
iliakan Jan 30, 2020
6f7ec12
minor fixes
Violet-Bora-Lee Feb 1, 2020
d10b50a
Merge pull request #1732 from Violet-Bora-Lee/master
lex111 Feb 2, 2020
4b124fb
Update article.md
paroche Feb 3, 2020
b30915a
Merge pull request #1735 from javascript-tutorial/paroche-patch-13
paroche Feb 3, 2020
630b95e
Update article.md
paroche Feb 4, 2020
b28e9d9
Merge pull request #1736 from javascript-tutorial/paroche-patch-14
paroche Feb 4, 2020
a193448
Update article.md
paroche Feb 4, 2020
9927cd0
Update article.md
paroche Feb 4, 2020
d1a4550
Update article.md
paroche Feb 4, 2020
f9feec2
minor fixes
iliakan Feb 4, 2020
0081fbd
Merge pull request #1737 from javascript-tutorial/paroche-patch-15
iliakan Feb 5, 2020
5d4086e
Merge pull request #1729 from KennethKinLum/patch-8
iliakan Feb 5, 2020
3899cc0
minor fixes
iliakan Feb 5, 2020
81e9f17
minor fixes
iliakan Feb 5, 2020
0a2172a
Merge pull request #1725 from Beginnerds/patch-1
paroche Feb 5, 2020
6994fc0
Update article.md
paroche Feb 6, 2020
4d0ceef
Update article.md
paroche Feb 7, 2020
671c4d4
Update article.md
paroche Feb 7, 2020
537c334
Update article.md
paroche Feb 7, 2020
9a4bc89
Update article.md
paroche Feb 7, 2020
a06341b
Update article.md
paroche Feb 7, 2020
f47b732
Update article.md
paroche Feb 7, 2020
bd0fbf9
Update article.md
paroche Feb 7, 2020
c3213d3
Update article.md
paroche Feb 7, 2020
3fe2976
Update article.md
paroche Feb 7, 2020
3fc0a5d
Update article.md
paroche Feb 8, 2020
4a10b92
fix en #1739
iliakan Feb 8, 2020
bf8fe9f
Merge branch 'master' of https://github.com/iliakan/javascript-tutori…
iliakan Feb 8, 2020
e4fb777
minor fixes
iliakan Feb 8, 2020
d6035ee
Revert "minor fixes"
iliakan Feb 8, 2020
60d9fe6
Revert "Revert "minor fixes""
iliakan Feb 8, 2020
08720f0
Update article.md
paroche Feb 8, 2020
2fee345
Update article.md
paroche Feb 8, 2020
fd0d378
Update article.md
paroche Feb 9, 2020
10c7807
Update article.md
paroche Feb 9, 2020
cad5a28
Fix link in BigInt
lex111 Feb 10, 2020
1c2dd6a
Remove extra word
Invariance-NaN Feb 10, 2020
16590d9
Typo fix
Invariance-NaN Feb 10, 2020
bad7807
Grammar mistake (?)
u-n-known Feb 10, 2020
bad9ca5
Update article.md
paroche Feb 11, 2020
59861ad
Update article.md
paroche Feb 11, 2020
0b2e5e7
Update article.md
paroche Feb 11, 2020
425a0af
Merge pull request #1745 from u-n-known/patch-1
lex111 Feb 11, 2020
00a1f2c
False precedence numbers
u-n-known Feb 11, 2020
837f7ab
Update article.md
paroche Feb 12, 2020
3b681c8
Update article.md
paroche Feb 12, 2020
ff82a9b
Update article.md
paroche Feb 12, 2020
db9b580
closes #1747
iliakan Feb 12, 2020
42920c1
Update article.md
paroche Feb 12, 2020
62c32d2
Update article.md
paroche Feb 12, 2020
cb8c12c
Merge pull request #1746 from u-n-known/patch-2
iliakan Feb 12, 2020
2bc6d87
Fix translation
GeorgySerga Feb 13, 2020
f8e2ed0
Either quotation marks or italicization
u-n-known Feb 13, 2020
863b320
Update article.md
paroche Feb 14, 2020
6cf0f08
Update article.md
paroche Feb 14, 2020
0b2cbf9
Update article.md
paroche Feb 14, 2020
1dd5e06
Update article.md
paroche Feb 14, 2020
220bed3
Update article.md
paroche Feb 14, 2020
7fb11bd
Update article.md
paroche Feb 14, 2020
c6c25c9
Update article.md
paroche Feb 14, 2020
1304aa1
Remove unnecessary return in couple of examples
nekhaevskiy Feb 14, 2020
9acc130
fixes #1747
iliakan Feb 14, 2020
2cd077c
Update article.md
rizkyzhang Feb 16, 2020
44a6c12
Fix typo
rizkyzhang Feb 16, 2020
5413a9c
fix: Minor typo and grammar
achianumba Feb 16, 2020
642b563
edited alice's wage difference, wage is based on the average of her m…
cycduck Feb 18, 2020
81def02
minor fixes
iliakan Feb 18, 2020
2437d3d
Merge pull request #1759 from cycduck/wage-gap-fix
iliakan Feb 18, 2020
6fa9659
Merge pull request #1756 from achianumba/patch-1
iliakan Feb 18, 2020
1c5b07c
Merge pull request #1755 from rizkyzhang/patch-3
iliakan Feb 18, 2020
323f155
Merge pull request #1754 from rizkyzhang/patch-2
iliakan Feb 18, 2020
233b0bd
Merge pull request #1752 from nekhaevskiy/patch-1
iliakan Feb 18, 2020
cedd3ed
closes #1742
iliakan Feb 19, 2020
d12903c
Mac OS multiline Commenting shortcut is should use 'Option' instead o…
nishantsinghcs Feb 19, 2020
016213e
Merge pull request #1760 from nishantsinghcs/patch-1
iliakan Feb 19, 2020
3e93486
closes #1758
iliakan Feb 20, 2020
4f6356b
Merge pull request #5 from javascript-tutorial/master
aniketkudale Feb 20, 2020
dd4d218
Copy and paste mistake
u-n-known Feb 20, 2020
188f497
"better to demonstrate" -> "best demonstrated", ", like this:" -> ":"
paroche Feb 21, 2020
2f066b4
Update article.md
bibin765 Feb 22, 2020
169389f
Some missing whitespaces
u-n-known Feb 22, 2020
33c2a4e
Update article.md
leviding Feb 23, 2020
87d03ce
Merge pull request #1768 from leviding/patch-3
iliakan Feb 23, 2020
d0ad658
Merge pull request #1767 from u-n-known/patch-4
lex111 Feb 23, 2020
405150f
Merge pull request #1766 from bibin765/master
lex111 Feb 23, 2020
1c1b8a0
small typo fix
jorishr Feb 24, 2020
81ea420
Fix typo
detinsley1s Feb 26, 2020
0307fcb
Fix typo
YRFT Feb 29, 2020
2abe375
Add commas non-terminal properties
duongdominhchau Feb 29, 2020
6c8433e
Update article.md
paroche Feb 29, 2020
131016b
Update article.md
paroche Feb 29, 2020
7550fd5
Merge pull request #1777 from javascript-tutorial/paroche-patch-19
paroche Feb 29, 2020
177f4b3
Update article.md
paroche Feb 29, 2020
8812070
"allows to" -> "allows us to" (2x)
paroche Feb 29, 2020
c039f04
Update article.md
leviding Feb 29, 2020
637088d
Remove useless spaces
alexgalkin Feb 29, 2020
fafee0e
Fix typo.
larryng Mar 1, 2020
4e04bcb
Merge pull request #6 from javascript-tutorial/master
aniketkudale Mar 1, 2020
c72cca8
minor fixes
iliakan Mar 1, 2020
4325537
corrected order for subtraction
zeel Mar 1, 2020
cf6821e
minor fixes
Violet-Bora-Lee Mar 1, 2020
4a15b96
Merge pull request #1783 from Violet-Bora-Lee/patch-1
iliakan Mar 1, 2020
fcfef6a
Merge pull request #1782 from zeel/patch-1
iliakan Mar 1, 2020
696eda5
fix typo
KuthumiPepple Mar 3, 2020
131c96e
fix: removed , from solution.md date data types
zeel Mar 7, 2020
8ae11cb
fix: removed , from task.md date data types
zeel Mar 7, 2020
79356bb
Merge pull request #7 from javascript-tutorial/master
aniketkudale Mar 7, 2020
76bf5ec
Corrected Grammar
aniketkudale Mar 9, 2020
3673751
Fix typo
lex111 Mar 10, 2020
3b48dee
Fix a typo
zhang1pr Mar 11, 2020
6ee0d97
Fix a typo
zhang1pr Mar 11, 2020
6917305
fix: 2 lines of russian to english and a typo (mathces -> matches)
HynekS Mar 11, 2020
61bd2b3
fix: fix markdown highlight
Mar 11, 2020
8a13b9b
Create index.html
leviding Mar 12, 2020
be02f57
Update index.html
leviding Mar 12, 2020
4df68f5
Update index.html
leviding Mar 12, 2020
44e88b8
Update solution.md
leviding Mar 12, 2020
07bd724
Update article.md
leviding Mar 13, 2020
958cbe7
minor fixes
Violet-Bora-Lee Mar 13, 2020
c116813
Merge pull request #1800 from Violet-Bora-Lee/master
iliakan Mar 14, 2020
b93cf9d
Minor statement change
Etheraex Mar 14, 2020
bfe8e3f
Update article.md
leviding Mar 19, 2020
94b9c9d
minor fixes
iliakan Mar 21, 2020
fe5d6d9
Merge pull request #1765 from u-n-known/patch-3
iliakan Mar 21, 2020
63518dc
Merge pull request #1770 from jorishr/patch-1
iliakan Mar 21, 2020
58d4329
Merge pull request #1771 from detinsley1s/patch-1
iliakan Mar 21, 2020
d9d2127
Merge pull request #1774 from duongdominhchau/patch-1
iliakan Mar 21, 2020
0d0908f
Merge pull request #1776 from YRFT/patch-1
iliakan Mar 21, 2020
4939a18
Merge pull request #1779 from leviding/patch-3
iliakan Mar 21, 2020
cf851b0
Merge pull request #1780 from alexgalkin/master
iliakan Mar 21, 2020
8211dfd
Merge pull request #1781 from larryng/patch-1
iliakan Mar 21, 2020
4995823
Merge pull request #1787 from KuthumiPepple/patch-1
iliakan Mar 21, 2020
81e728c
Merge pull request #1789 from zeel/patch-1
iliakan Mar 21, 2020
b7dc89a
closes #1791
iliakan Mar 21, 2020
d19401e
Merge pull request #1792 from aniketkudale/master
iliakan Mar 21, 2020
3c2b027
Merge pull request #1795 from zhang1pr/master
iliakan Mar 21, 2020
3086efe
Merge pull request #1796 from HynekS/fix-lang-and-typo
iliakan Mar 21, 2020
2526d5c
Merge pull request #1797 from xin-nie/xnie-fix-markdown
lex111 Mar 21, 2020
60d2e2f
Merge pull request #1804 from leviding/patch-6
lex111 Mar 21, 2020
4357ba9
fixes #1794
iliakan Mar 21, 2020
cec58f4
Merge pull request #1802 from Etheraex/master
iliakan Mar 21, 2020
4084746
Merge pull request #1799 from leviding/patch-5
iliakan Mar 21, 2020
d2ac997
Merge pull request #1798 from leviding/patch-4
iliakan Mar 21, 2020
6ec3f34
closes #1794
iliakan Mar 22, 2020
c866c46
Update solution.md
leviding Mar 22, 2020
a11cc18
Merge pull request #1807 from leviding/patch-4
iliakan Mar 22, 2020
460e7a8
Update article.md
leviding Mar 23, 2020
6700835
closes #1808
iliakan Mar 23, 2020
fd81db7
closes #1812
iliakan Mar 24, 2020
162280b
minor fixes
iliakan Mar 24, 2020
9900be9
Edit sentance syntax in closure article
Mar 24, 2020
b38e243
Update solution.md
leviding Mar 24, 2020
ab1b6de
formatting
KennethKinLum Mar 25, 2020
03aa504
Update article.md
leviding Mar 26, 2020
304ae1c
Update article.md
leviding Mar 26, 2020
da3303b
Update article.md
leviding Mar 27, 2020
0903209
fix typo
wonderingabout Mar 27, 2020
14cd9ec
Update article.md
leviding Mar 27, 2020
2efef24
Update article.md
leviding Mar 27, 2020
ab7a186
Update article.md
leviding Mar 28, 2020
35ff499
fix typo
baooab Mar 29, 2020
063bb96
Merge pull request #1829 from baooab/patch-6
lex111 Mar 29, 2020
be80c33
Merge pull request #1827 from leviding/patch-12
lex111 Mar 29, 2020
6d81d3d
Merge pull request #1826 from leviding/patch-11
lex111 Mar 29, 2020
8cf89b3
Merge pull request #1825 from wonderingabout/fix-typos
lex111 Mar 29, 2020
0895276
Merge pull request #1824 from leviding/patch-10
lex111 Mar 29, 2020
0c5d5d2
Merge pull request #1821 from leviding/patch-8
lex111 Mar 29, 2020
d6ad00f
Merge pull request #1815 from leviding/patch-5
lex111 Mar 29, 2020
c41b8bd
Update article.md
lex111 Mar 29, 2020
20351cb
Merge pull request #1822 from leviding/patch-9
lex111 Mar 29, 2020
c1c5c73
Merge pull request #1748 from GeorgySerga/patch-6
lex111 Mar 29, 2020
09a11ab
Merge pull request #1744 from qdflavel/typos-fix
lex111 Mar 29, 2020
ac5fd8c
Merge pull request #1820 from KennethKinLum/patch-12
lex111 Mar 29, 2020
f4cb058
trick get a new copy of objects/arrays using the spread operator
wonderingabout Mar 29, 2020
c038ef4
Merge pull request #1823 from wonderingabout/trick-deep-copy-spread
paroche Mar 29, 2020
aad6f5e
fix missing js formatting
wonderingabout Mar 29, 2020
42eadf9
Merge pull request #1814 from michael-mcgee/closure-article-edit
iliakan Mar 29, 2020
adfb099
Update article.md
iliakan Mar 29, 2020
62299ed
do the same => do the same thing
paroche Mar 29, 2020
eb546f0
Fixing "sum(1)" instead of "curriedSum(1)" (l. 42)
Aakodal Mar 30, 2020
46b3bf6
Change 'brackets' to 'parentheses'
paroche Mar 31, 2020
2a6e87a
Change 'brackets' to 'parentheses'
paroche Mar 31, 2020
8e22d3f
Update article.md
leviding Apr 1, 2020
6b5a524
fix an anchor link error
Ahmed-Magdy-S Apr 1, 2020
a223336
Update article.md
leviding Apr 2, 2020
dd0c195
Merge pull request #1839 from leviding/patch-2
iliakan Apr 2, 2020
fde6d43
Merge pull request #1838 from Ahmed-Magdy-S/patch-1
iliakan Apr 2, 2020
368cc06
Merge pull request #1837 from leviding/patch-1
iliakan Apr 2, 2020
cd2d450
Merge pull request #1834 from Aakodal/patch-1
iliakan Apr 2, 2020
5049c0b
Merge pull request #1830 from wonderingabout/add-js-formatting
iliakan Apr 2, 2020
6f45ce7
Merge pull request #1809 from leviding/patch-4
iliakan Apr 2, 2020
a55b99c
fixes #1836
iliakan Apr 2, 2020
d84673a
closes #1810
iliakan Apr 2, 2020
81a63cf
fix minor typo
Ahmed-Magdy-S Apr 2, 2020
0287fbd
Change switch Grouping of "case" example
SambaLim Apr 2, 2020
f33dc7e
Merge pull request #1841 from SambaLim/master
iliakan Apr 3, 2020
09404a0
Merge pull request #1840 from Ahmed-Magdy-S/patch-2
iliakan Apr 3, 2020
5a9b8a4
up
iliakan Apr 4, 2020
2acd258
minor fixes
iliakan Apr 4, 2020
23ffde7
minor fixes
iliakan Apr 4, 2020
c89ddc5
Merge pull request #1751 from u-n-known/patch-1
iliakan Apr 5, 2020
a5b9a18
merging all conflicts
iliakan Apr 6, 2020
116f1f8
Fix merge conflicts
raikusy May 9, 2020
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
8 changes: 8 additions & 0 deletions 1-js/01-getting-started/1-intro/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

## জাভাস্ক্রিপ্ট কী?

<<<<<<< HEAD
শুরুতে *জাভাস্ক্রিপ্ট* তৈরি করা হয়েছিল *"ওয়েব পেইজগুলি প্রাণবন্ত করতে"* ।
=======
*JavaScript* was initially created to "make web pages alive".
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

এই ভাষায় প্রোগ্রামগুলিকে বলা হয় স্ক্রিপ্ট। এগুলি সরাসরি কোনও ওয়েব পেজের HTML এর ভিতরে লেখা হয় এবং পেজটি লোড হওয়ার সাথে সাথে স্বয়ংক্রিয়ভাবে চালু হয়ে যায়।

Expand Down Expand Up @@ -63,7 +67,11 @@

এই জাতীয় বিধিনিষেধের উদাহরণগুলির মধ্যে রয়েছে:

<<<<<<< HEAD
- একটি ওয়েবপেজে জাভাস্ক্রিপ্ট হার্ড ডিস্কে যেকোনো ফাইল পড়তে / লিখতে, সেগুলি কপি করতে বা প্রোগ্রামগুলি চালাতে পারে না। এটির ওএস এর সিস্টেম ফাংশন গুলির সরাসরি এক্সেস নেই।
=======
- 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.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

আধুনিক ব্রাউজারগুলি এটিকে ফাইল নিয়ে কাজ করার অনুমতি দেয়, তবে এর এক্সেস সীমাবদ্ধ এবং কেবলমাত্র যদি ব্যবহারকারী নির্দিষ্ট কিছু কাজ করেন যেমন ব্রাউজার উইন্ডোতে একটি ফাইল "ড্রপ" করা বা একটি "<input>" `ট্যাগের মাধ্যমে ফাইল সিলেক্ট করা।

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"]
5 changes: 5 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 @@ -45,8 +45,13 @@

`<script>` ট্যাগে কয়েকটি এট্রিবিউট রয়েছে যেটা আজকাল খুব কম ব্যবহার করা হয় কিন্তু কিছু পুরনো কোডে এখনও এইগুলো পাওয়া যেতে পারে:

<<<<<<< HEAD
`type` এট্রিবিউট: <code>&lt;script <u>type</u>=...&gt;</code>
: পুরানো এইচটিএমএল স্ট্যান্ডার্ড, এইচটিএমএল ৪ এ একটি স্ক্রিপ্টে `type` এট্রিবিউটটি থাকা আবশ্যক ছিল। সাধারনত এটা ছিল `type="text/javascript"`। এটি আর প্রয়োজন হয় না। আরও বলতে গেলে, আধুনিক এইচটিএমএল স্ট্যান্ডার্ড এ পুরোপুরিভাবে এট্রিবিউটসের অর্থই বদলে দিয়েছে। এখন, এটা জাভাস্ক্রিপ্ট মডিউলস এর জন্য ব্যবহার করা যেতে পারে। কিন্তু এটা একটি অ্যাডভান্সড বিষয়, আমরা মডিউলস সম্পর্কে টিউটরিয়ালের অন্য অংশে কথা বলব।
=======
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.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

`language` এট্রিবিউট: <code>&lt;script <u>language</u>=...&gt;</code>
: এই এট্রিবিউটটি স্ক্রিপ্টের ভাষা দেখানোর জন্য বুঝানো হয়েছে। এই এট্রিবিউটটি দিয়ে এখন আর কিছু হয় না কারন জাভাস্ক্রিপ্টই এখন ডিফল্ট ভাষা। এটা ব্যবহার করার এখন আর প্রয়োজন নেই।
Expand Down
9 changes: 9 additions & 0 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,11 @@ alert("একটি এরর তৈরি হবে")[1, 2].forEach(alert)

আমরা স্টেটমেন্টের শেষে সেমিকোলন দিতে পরামর্শ দেই, এমনকি যদি স্টেটমেন্টগুলো আলাদা লাইনেও হয়ে থাকে। এই রুলটি কমিউনিটিতে ব্যাপকভাবে গ্রহণ করা হয়েছে। আরও একবার এভাবে বলা যায় -- অধিকাংশ সময় সেমিকোলন ঊহ্য রাখা **সম্ভব**। কিন্তু এটি ব্যবহার করা নিরাপদ -- বিশেষ করে শিক্ষানবিশ/অনভিজ্ঞদের জন্য।

<<<<<<< HEAD
## কমেন্ট/মন্তব্য
=======
## Comments [#code-comments]
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

সময়ের সাথে সাথে প্রোগ্রামগুলো অধিক থেকে অধিকতর জটিল হতে থাকে। *কমেন্ট/মন্তব্য* লিখার মাধ্যমে কোড কি কাজ করে এবং কেন করে তা প্রয়োজনীয় হয়ে দাঁড়ায়।

Expand Down Expand Up @@ -135,8 +139,13 @@ alert('হ্যালো');
alert('ওয়ার্ল্ড');
```

<<<<<<< HEAD
```smart header="হট-কী ব্যবহার করুন"
অধিকাংশ এডিটরে, কোডের কোন অংশ কমেন্ট করতে, এক লাইনের কমেন্টের জন্য `key:Ctrl+/` হট-কী এবং একাধিক লাইনের কমেন্টের জন্য `key:Ctrl+Shift+/` হট-কী ব্যবহার করা হয় (কোডের অংশটি সিলেক্ট করে হট-কী প্রেস করা হয়)। ম্যাকের জন্য `key:Ctrl` এর পরিবর্তে `key:Cmd` ব্যবহার করে চেষ্টা করে দেখুন।
=======
```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` and `key:Option` instead of `key:Shift`.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622
```

````warn header="জাভাস্ক্রিপ্ট নেস্টেড কমেন্ট সাপোর্ট করে না!"
Expand Down
8 changes: 8 additions & 0 deletions 1-js/02-first-steps/06-type-conversions/article.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# টাইপ রূপান্তর

<<<<<<< HEAD
বেশীরভাগ সময়, অপারেটর ও ফাংশন সমুহ নিজে থেকেই তাদের কাছে দেয়া ভ্যালুগুলো রূপান্তর করে থাকে।
=======
Most of the time, operators and functions automatically convert the values given to them to the right type.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

উদাহারণ হিসাবে , `alert` নিজে থেকেই ভ্যালুকে স্ট্রিংয়ে রূপান্তর করে নেয়। অন্যদিকে, গানিতিক অপারেটরগুলি ভ্যালুকে সংখ্যায় রূপান্তর করে।

Expand Down Expand Up @@ -81,6 +85,7 @@ alert( Number(false) ); // 0

এখানে জেনে রাখি `null` ও `undefined` এক্ষেত্রে ভিন্ন আচরণ করে: `null` হয়ে যাবে শূন্য আর `undefined` হবে `NaN`.

<<<<<<< HEAD
````smart header="যোগ '+' স্ট্রিংসমূহকে একীভুত করে"
প্রায় সব গানিতিক অপারেটর ভ্যালুকে সংখ্যায় রূপান্তর করে নেয়। তবে উল্লেখযোগ্য একটি ব্যতিক্রম হলো যোগ `+`, যদি এর দুপাশের একটি ভ্যালুও স্ট্রিং হয় তবে অপরটিও স্ট্রিং হয়ে যাবে

Expand All @@ -93,6 +98,9 @@ alert( '1' + 2 ); // '12' (বামপাশে স্ট্রিং)

এটা তখনই হয় যদি অন্তত একটি আর্গুমেন্ট স্ট্রিং থাকে, নাহয় তা সংখ্যায় রুপান্তরিত হয়ে যাবে।
````
=======
Most mathematical operators also perform such conversion, we'll see that in the next chapter.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

## বুলিয়ান রূপান্তর

Expand Down
10 changes: 5 additions & 5 deletions 1-js/02-first-steps/07-operators/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,17 @@ Here's an extract from the [precedence table](https://developer.mozilla.org/en/J
| Precedence | Name | Sign |
|------------|------|------|
| ... | ... | ... |
| 16 | unary plus | `+` |
| 16 | unary negation | `-` |
| 14 | multiplication | `*` |
| 14 | division | `/` |
| 17 | unary plus | `+` |
| 17 | unary negation | `-` |
| 15 | multiplication | `*` |
| 15 | division | `/` |
| 13 | addition | `+` |
| 13 | subtraction | `-` |
| ... | ... | ... |
| 3 | assignment | `=` |
| ... | ... | ... |

As we can see, the "unary plus" has a priority of `16` which is higher than the `13` of "addition" (binary plus). That's why, in the expression `"+apples + +oranges"`, unary pluses work before the addition.
As we can see, the "unary plus" has a priority of `17` which is higher than the `13` of "addition" (binary plus). That's why, in the expression `"+apples + +oranges"`, unary pluses work before the addition.

## Assignment

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

কিছু কারণ:

<<<<<<< HEAD
1. অবশ্যই true বা ঠিক হবে।
2. আভিধানিকভাবে তুলনা তাই false বা ভুল।
3. আবারও, আভিধানিকভাবে তুলনা, প্রথম স্ট্রিংয়ের `"2"` দ্বিতীয় স্ট্রিংয়ের `"1"` এর থেকে বড়।
4. `null` এবং `undefined` একমাত্র একে অপরের সমান।
5. যথাযথ সমতায় `===` দুটি ভ্যালু একই টাইপের হতে হয়। কিন্তু তারা ভিন্ন টাইপের।
6. এটি `(4)` নং এর মতো। `null` একমাত্র `undefined` এর সমান।
7. দুটি ভিন্ন টাইপের ভ্যালু বা মান।
=======
1. Obviously, true.
2. Dictionary comparison, hence false. `"a"` is smaller than `"p"`.
3. Again, dictionary comparison, first char of `"2"` is greater than the first char of `"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.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ alert( alert(1) || 2 || alert(3) );

alert কল করলে কোন মান রিটার্ন করে না. অথবা, এক কথায় undefined দেখায়।

<<<<<<< HEAD
১। OR || অপারেশনে প্রথমে বাম দিক থেকে মূল্যায়ন করা হয়। সেজন্য এখানে প্রথম ফলাফল দেখায় 1।
২। `alert` দেখায় `undefined`, অথবা সত্য মানটির সন্ধানে দ্বিতীয় প্রতীকে যায়।
৩। দ্বিতীয় প্রতীক `2` সত্য হয়, সুতরাং এক্সিকিউশন স্থগিত, `2` ফিরে আসে এবং তারপরে বাইরের সতর্কতা দ্বারা দেখানো হয়।
=======
1. The first OR `||` evaluates its left operand `alert(1)`. That shows the first message with `1`.
2. The `alert` returns `undefined`, so OR goes on to the second operand searching for a truthy value.
3. The second operand `2` is truthy, so the execution is halted, `2` is returned and then shown by the outer alert.
>>>>>>> c89ddc5d92195e08e2c32e30526fdb755fec4622

কোনও `3` থাকবে না, কারণ মূল্যায়ন `alert(3)` তে পৌঁছায় না।
4 changes: 2 additions & 2 deletions 1-js/02-first-steps/12-while-for/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ For even values of `i`, the `continue` directive stops executing the body and pa
````smart header="The `continue` directive helps decrease nesting"
A loop that shows odd values could look like this:

```js
```js run
for (let i = 0; i < 10; i++) {

if (i % 2) {
Expand All @@ -268,7 +268,7 @@ for (let i = 0; i < 10; i++) {

From a technical point of view, this is identical to the example above. Surely, we can just wrap the code in an `if` block instead of using `continue`.

But as a side-effect, this created one more level of nesting (the `alert` call inside the curly braces). If the code inside of`if` is longer than a few lines, that may decrease the overall readability.
But as a side-effect, this created one more level of nesting (the `alert` call inside the curly braces). If the code inside of `if` is longer than a few lines, that may decrease the overall readability.
````

````warn header="No `break/continue` to the right side of '?'"
Expand Down
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/13-switch/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Several variants of `case` which share the same code can be grouped.
For example, if we want the same code to run for `case 3` and `case 5`:

```js run no-beautify
let a = 2 + 2;
let a = 3;

switch (a) {
case 4:
Expand Down
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/14-function-basics/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ alert( result ); // 3

```js run
function checkAge(age) {
if (age > 18) {
if (age >= 18) {
*!*
return true;
*/!*
Expand Down
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/16-arrow-functions-basics/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ let welcome = (age < 18) ?
() => alert('Hello') :
() => alert("Greetings!");

welcome(); // ok now
welcome();
```

Arrow functions may appear unfamiliar and not very readable at first, but that quickly changes as the eyes get used to the structure.
Expand Down
3 changes: 2 additions & 1 deletion 1-js/02-first-steps/17-javascript-specials/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ let x = 5;
x = "John";
```

There are 7 data types:
There are 8 data types:

- `number` for both floating-point and integer numbers,
- `bigint` for integer numbers of arbitrary length,
- `string` for strings,
- `boolean` for logical values: `true/false`,
- `null` -- a type with a single value `null`, meaning "empty" or "does not exist",
Expand Down
10 changes: 5 additions & 5 deletions 1-js/03-code-quality/01-debugging-chrome/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Before writing more complex code, let's talk about debugging.

[Debugging](https://en.wikipedia.org/wiki/Debugging) is the process of finding and fixing errors within a script. All modern browsers and most other environments support debugging tools -- a special UI in developer tools that makes debugging much easier. It also allows to trace the code step by step to see what exactly is going on.

We'll be using Chrome here, because it has enough features, most other browsers have a similar process`.
We'll be using Chrome here, because it has enough features, most other browsers have a similar process.

## The "Sources" panel

Expand All @@ -24,11 +24,11 @@ Let's click it and select `hello.js` in the tree view. Here's what should show u

![](chrome-tabs.svg)

Here we can see three zones:
The Sources panel has 3 parts:

1. The **Resources zone** lists HTML, JavaScript, CSS and other files, including images that are attached to the page. Chrome extensions may appear here too.
2. The **Source zone** shows the source code.
3. The **Information and control zone** is for debugging, we'll explore it soon.
1. The **File Navigator** pane lists HTML, JavaScript, CSS and other files, including images that are attached to the page. Chrome extensions may appear here too.
2. The **Code Editor** pane shows the source code.
3. The **JavaScript Debugging** pane is for debugging, we'll explore it soon.

Now you could click the same toggler <span class="devtools" style="background-position:-172px -122px"></span> again to hide the resources list and give the code some space.

Expand Down
2 changes: 1 addition & 1 deletion 1-js/03-code-quality/02-coding-style/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if (condition) {
```js
// ব্যাকটিক কোট ` এর সাহায্যে একটা স্ট্রিংকে ভাগ করা যায়
let str = `
Ecma International's TC39 is a group of JavaScript developers,
ECMA International's TC39 is a group of JavaScript developers,
implementers, academics, and more, collaborating with the community
to maintain and evolve the definition of JavaScript.
`;
Expand Down
32 changes: 16 additions & 16 deletions 1-js/03-code-quality/03-comments/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,25 +125,25 @@ Describe the architecture
Document function parameters and usage
: There's a special syntax [JSDoc](http://en.wikipedia.org/wiki/JSDoc) to document a function: usage, parameters, returned value.

For instance:
```js
/**
* Returns x raised to the n-th power.
*
* @param {number} x The number to raise.
* @param {number} n The power, must be a natural number.
* @return {number} x raised to the n-th power.
*/
function pow(x, n) {
...
}
```
For instance:
```js
/**
* Returns x raised to the n-th power.
*
* @param {number} x The number to raise.
* @param {number} n The power, must be a natural number.
* @return {number} x raised to the n-th power.
*/
function pow(x, n) {
...
}
```

Such comments allow us to understand the purpose of the function and use it the right way without looking in its code.
Such comments allow us to understand the purpose of the function and use it the right way without looking in its code.

By the way, many editors like [WebStorm](https://www.jetbrains.com/webstorm/) can understand them as well and use them to provide autocomplete and some automatic code-checking.
By the way, many editors like [WebStorm](https://www.jetbrains.com/webstorm/) can understand them as well and use them to provide autocomplete and some automatic code-checking.

Also, there are tools like [JSDoc 3](https://github.com/jsdoc3/jsdoc) that can generate HTML-documentation from the comments. You can read more information about JSDoc at <http://usejsdoc.org/>.
Also, there are tools like [JSDoc 3](https://github.com/jsdoc3/jsdoc) that can generate HTML-documentation from the comments. You can read more information about JSDoc at <http://usejsdoc.org/>.

Why is the task solved this way?
: What's written is important. But what's *not* written may be even more important to understand what's going on. Why is the task solved exactly this way? The code gives no answer.
Expand Down
Loading