Merge pull request #3042 from tanishk15sharma/patch-1

fix: typo
This commit is contained in:
Ilya Kantor 2022-06-09 00:49:22 +02:00 committed by GitHub
commit 00689d3b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,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 a totally sane 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:
```js