History of Math.sign() Revision history for: English (US) Sep 23, 2016, 1:20:17 PM tgoyer Updated first return so that "NaN" is returned for non-numeric values instead of the value per the spec. Previous Jul 29, 2016, 8:10:26 AM eduardoboucas Add "Return value" section as per Bug 1287421 Previous Dec 28, 2015, 4:20:43 PM fscholz Remove {{harmony}}; remove "Experimental" tag; remove {{experimental_inline}}; add link to ES draft spec Previous Jul 8, 2015, 4:53:33 AM fscholz fix compat parsing error; cleanup Previous Feb 6, 2015, 3:42:28 AM Mingun Closed `<code>` tag. Previous Feb 6, 2015, 3:38:32 AM Mingun Standardized and cleaned markup, added {{jsxref}} macro, added links to "See also" section, added `Reference` tag. Previous Oct 18, 2014, 6:43:30 AM realityking Supported in Opera 25 Previous Oct 8, 2014, 2:55:18 PM realityking Supported in Chrome 38 Previous Sep 18, 2014, 7:04:31 AM claudepache correct (and simplify) polyfill. Previously, Math.sign("0") didn't gave the correct answer. Previous Aug 16, 2014, 8:45:04 PM arai