polyfill-service
Version:
A polyfill combinator
1 lines • 686 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/trunc","spec":"http://people.mozilla.org/~jorendorff/es6-draft.html#sec-math.trunc","baseDir":"Math/trunc","hasTests":false,"rawSource":"\n// Math.trunc\nMath.trunc = function trunc(x) {\n\treturn x < 0 ? Math.ceil(x) : Math.floor(x);\n};\n","minSource":"Math.trunc=function(t){return 0>t?Math.ceil(t):Math.floor(t)};","detectSource":"'trunc' in Math"}