jr-grenoble

เป็นสมาชิกตั้งแต่
jr-grenoble

Recent Docs Activity

ดูกิจกรรมทั้งหมด
หน้า วันที่ ความคิดเห็น

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.