fix: typo

This commit is contained in:
Tanishk Sharma 2022-06-08 11:01:09 +05:30 committed by GitHub
parent 2efe0dce18
commit a79421272e
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