jr-grenoble

عضو منذ
jr-grenoble

احدث الأنشطة على التوثيق

اعرض كل النشاط
الصفحة التاريخ تعليق

Spread syntax


It seems that current implementations of the object spread operator yield strange results when coupled with rest parameters. This addition flags one such issue (tested with Chrome).

Spread syntax


Math.round()


The reverseshift boolean in the better example was useless.

Math.round()


Alerted readers of the danger of the "better solution". I let its author (@peteriman) fix it.

Math.round()


Removed block `// If the value is negative...` from Decimal rounding example, as it creates an exception. E.g. for`type = round`, if `exp` is 0, `decimalAdjust` defaults to Math.round which rounds towards +∞. Previous code had inconsistent behavior.