History of Array.from() Revision history for: English (US) Oct 8, 2016, 10:32:44 AM NiB18 Previous Sep 26, 2016, 7:20:39 PM Kovensky Previous Jul 19, 2016, 9:35:10 AM eduardoboucas Add reference to Array Previous Jul 19, 2016, 9:22:00 AM eduardoboucas Add "Return value" section as per Bug 1287421 Previous May 25, 2016, 10:45:51 PM LJHarb Revert to revision of 2016-01-05 08:23:19 by fscholz: "Please do not bikeshed polyfills on MDN. Clarity and correctness is far more important than performance and cleverness." Previous May 25, 2016, 9:54:39 PM solaman I'd remove the zero as following ternary operator is good->if (number === 0 || !isFinite(number)) { return number; } could reduce operations, be more clean-> return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)); Previous May 25, 2016, 9:50:02 PM solaman if (number === 0 || !isFinite(number)) { return number; } return (number > 0 ? 1 : -1) * Math.floor(Math.abs(number)); Previous Jan 5, 2016, 8:23:19 AM fscholz clr review flag Previous Jan 5, 2016, 6:49:53 AM Hywan Remove trailing spaces. Previous Oct 15, 2015, 12:23:17 PM fscholz cleanup