Merge pull request #3048 from Rnbsov/patch-64

👾 add break line
This commit is contained in:
Ilya Kantor 2022-06-12 23:54:38 +02:00 committed by GitHub
commit 8ddceabcad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,7 @@ if (zero) { // zero is true, because it's an object
On the other hand, using the same functions `String/Number/Boolean` without `new` is totally same and useful thing. They convert a value to the corresponding type: to a string, a number, or a boolean (primitive). On the other hand, using the same functions `String/Number/Boolean` without `new` is totally same and useful thing. They convert a value to the corresponding type: to a string, a number, or a boolean (primitive).
For example, this is entirely valid: For example, this is entirely valid:
```js ```js
let num = Number("123"); // convert a string to number let num = Number("123"); // convert a string to number
``` ```