PROWAREtech
JavaScript: IE11 Math.sign() Method/Function
Create the Math.sign() function for Internet Explorer 11.
Still developing for IE11? Well, the Math.sign()
static method returns 1 or -1, indicating the sign of the number passed as argument.
Math.sign = Math.sign || function (x) { return (x * Math.abs(x)) < 0 ? -1 : 1; };
Comment