Skip to content

Commit bd62161

Browse files
committed
# Conflicts: # 1-js/01-getting-started/4-devtools/article.md # 1-js/02-first-steps/03-strict-mode/article.md # 1-js/02-first-steps/05-types/article.md # 1-js/02-first-steps/06-type-conversions/article.md # 1-js/05-data-types/02-number/article.md # 1-js/05-data-types/11-date/8-format-date-relative/solution.md # 2-ui/1-document/11-coordinates/article.md
2 parents f599bf0 + 4110f00 commit bd62161

110 files changed

Lines changed: 335 additions & 204 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1-js/02-first-steps/05-types/article.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ n = 12.345;
5959
```js
6060
let str = "Hello";
6161
let str2 = 'Single quotes are ok too';
62-
let phrase = `can embed ${str}`;
62+
let phrase = `can embed another ${str}`;
6363
```
6464

6565
در جاوا اسکریپت سه نوع کوتِیشِن داریم :
@@ -184,6 +184,8 @@ typeof undefined // "undefined"
184184

185185
typeof 0 // "number"
186186

187+
typeof 10n // "bigint"
188+
187189
typeof true // "boolean"
188190

189191
typeof "foo" // "string"

1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md renamed to 1-js/02-first-steps/07-operators/3-primitive-conversions-questions/solution.md

File renamed without changes.

1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/task.md renamed to 1-js/02-first-steps/07-operators/3-primitive-conversions-questions/task.md

File renamed without changes.

1-js/02-first-steps/08-comparison/1-comparison-questions/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ null === +"\n0\n" → false
1313
Some of the reasons:
1414

1515
1. Obviously, true.
16-
2. Dictionary comparison, hence false.
16+
2. Dictionary comparison, hence false. `"a"` is smaller than `"p"`.
1717
3. Again, dictionary comparison, first char of `"2"` is greater than the first char of `"1"`.
1818
4. Values `null` and `undefined` equal each other only.
1919
5. Strict equality is strict. Different types from both sides lead to false.
Lines changed: 1 addition & 1 deletion
Loading

1-js/03-code-quality/01-debugging-chrome/chrome-open-sources.svg

Lines changed: 1 addition & 1 deletion
Loading

1-js/03-code-quality/01-debugging-chrome/chrome-sources-breakpoint.svg

Lines changed: 1 addition & 1 deletion
Loading

1-js/03-code-quality/01-debugging-chrome/chrome-sources-debugger-trace-1.svg

Lines changed: 1 addition & 1 deletion
Loading

1-js/03-code-quality/02-coding-style/code-style.svg

Lines changed: 1 addition & 1 deletion
Loading

1-js/03-code-quality/06-polyfills/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here Babel comes to the rescue.
1919

2020
Actually, there are two parts in Babel:
2121

22-
1. First, the transpiler program, which rewrites the code. The developer runs it on their own computer. It rewrites the code into the older standard. And then the code is delivered to the website for users. Modern project build systems like [webpack](http://webpack.github.io/) provide means to run transpiler automatically on every code change, so that very easy to integrate into development process.
22+
1. First, the transpiler program, which rewrites the code. The developer runs it on their own computer. It rewrites the code into the older standard. And then the code is delivered to the website for users. Modern project build systems like [webpack](http://webpack.github.io/) provide means to run transpiler automatically on every code change, so that it's very easy to integrate into development process.
2323

2424
2. Second, the polyfill.
2525

0 commit comments

Comments
 (0)