Merge pull request #2554 from joaquinelio/patch-5

code
This commit is contained in:
Ilya Kantor 2021-04-17 20:12:27 +03:00 committed by GitHub
commit 870a88c2f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ Modern project build systems, such as [webpack](http://webpack.github.io/), prov
New language features may include not only syntax constructs and operators, but also built-in functions.
For example, `Math.trunc(n)` is a function that "cuts off" the decimal part of a number, e.g `Math.trunc(1.23) = 1`.
For example, `Math.trunc(n)` is a function that "cuts off" the decimal part of a number, e.g `Math.trunc(1.23)` returns `1`.
In some (very outdated) JavaScript engines, there's no `Math.trunc`, so such code will fail.