polyfill-service
Version:
A polyfill combinator
1 lines • 767 B
JSON
{"aliases":["es6"],"browsers":{"android":"*","bb":"*","chrome":"1 - 37","firefox":"1 - 24","ie":"*","ie_mob":"10 - *","ios_chr":"*","ios_saf":"4 - 6.1","opera":"10 - 20","op_mob":"*","op_mini":"*","safari":"4 - 6.1","firefox_mob":"1 - 24"},"docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/tanh","spec":"http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.tanh","baseDir":"Math/tanh","hasTests":false,"rawSource":"\n// Math.tanh\nMath.tanh = function tanh(x) {\n\tvar y;\n\n\treturn x === Infinity ? 1 : x === -Infinity ? -1 : (y = Math.exp(2 * x), (y - 1) / (y + 1));\n};\n","minSource":"Math.tanh=function(t){var a;return t===1/0?1:t===-(1/0)?-1:(a=Math.exp(2*t),(a-1)/(a+1))};","detectSource":"'tanh' in Math"}