# HG changeset patch # User Yaroslav Zhuravlev # Date 1560947944 -10800 # Node ID d7e25f17dbf09227e2e8c518f721855506726234 # Parent 081441ddfcd48a0b50ef568d79c0b23409f79d20 Added Math properties and methods to njs Compatibility. diff -r 081441ddfcd4 -r d7e25f17dbf0 xml/en/docs/njs/compatibility.xml --- a/xml/en/docs/njs/compatibility.xml Mon Jun 17 16:16:13 2019 +0300 +++ b/xml/en/docs/njs/compatibility.xml Wed Jun 19 15:39:04 2019 +0300 @@ -9,7 +9,7 @@
@@ -61,9 +61,70 @@ -ES6 -Math and Number -properties and methods +Math properties: + + + +ES6: +E, +LN10, +LN2, +LOG10E, +LOG2E, +PI, +SQRT1_2, +SQRT2 + + + + + +Math methods: + + + +ES6: +abs, +acos, +acosh, +asin, +asinh, +atan, +atan2, +atanh, +cbrt, +ceil, +clz32, +cos, +cosh, +exp, +expm1, +floor, +fround, +hypot, +imul, +log, +log10, +log1p, +log2, +max, +min, +pow, +random, +round, +sign, +sin, +sinh, +sqrt, +tan, +tanh, +trunc + + + + + +ES6 Number properties and methods diff -r 081441ddfcd4 -r d7e25f17dbf0 xml/ru/docs/njs/compatibility.xml --- a/xml/ru/docs/njs/compatibility.xml Mon Jun 17 16:16:13 2019 +0300 +++ b/xml/ru/docs/njs/compatibility.xml Wed Jun 19 15:39:04 2019 +0300 @@ -9,7 +9,7 @@
@@ -61,9 +61,55 @@ -ES6 -методы и свойства -Math и Number +ES6 методы и свойства Math: +E, +LN10, +LN2, +LOG10E, +LOG2E, +PI, +SQRT1_2, +SQRT2, +__proto__, +abs, +acos, +acosh, +asin, +asinh, +atan, +atan2, +atanh, +cbrt, +ceil, +clz32, +cos, +cosh, +exp, +expm1, +floor, +fround, +hypot, +imul, +log, +log10, +log1p, +log2, +max, +min, +pow, +random, +round, +sign, +sin, +sinh, +sqrt, +tan, +tanh, +trunc + + + +ES6 методы и свойства Number