Merge pull request #2908 from Rnbsov/patch-9
Perhaps it would be more correct
This commit is contained in:
commit
ed8e41adc4
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ The phone codes go in the ascending sorted order, because they are integers. So
|
|||
````smart header="Integer properties? What's that?"
|
||||
The "integer property" term here means a string that can be converted to-and-from an integer without a change.
|
||||
|
||||
So, "49" is an integer property name, because when it's transformed to an integer number and back, it's still the same. But "+49" and "1.2" are not:
|
||||
So, `"49"` is an integer property name, because when it's transformed to an integer number and back, it's still the same. But `"+49"` and `"1.2"` are not:
|
||||
|
||||
```js run
|
||||
// Number(...) explicitly converts to a number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue