minor grammar fix

This commit is contained in:
Lavrentiy Rubtsov 2022-04-19 00:50:41 +06:00 committed by GitHub
parent 291b5c05b9
commit e424ad23e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -178,7 +178,7 @@ There are two ways to do so:
alert( num.toFixed(1) ); // "12.4" alert( num.toFixed(1) ); // "12.4"
``` ```
Please note that result of `toFixed` is a string. If the decimal part is shorter than required, zeroes are appended to the end: Please note that the result of `toFixed` is a string. If the decimal part is shorter than required, zeroes are appended to the end:
```js run ```js run
let num = 12.34; let num = 12.34;