We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

jr-grenoble

Member since
jr-grenoble

Recent Docs Activity

View all activity
Page Date Comment

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.