Blame view

node_modules/es5-ext/test/math/clz32/shim.js 275 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
7
8
9
10
11
12
  "use strict";
  
  module.exports = function (t, a) {
  	a(t(1), 31, "1");
  	a(t(1000), 22, "1000");
  	a(t(), 32, "No arguments");
  	a(t(Infinity), 32, "Infinity");
  	a(t(-Infinity), 32, "-Infinity");
  	a(t("foo"), 32, "String");
  	a(t(true), 31, "Boolean");
  	a(t(3.5), 30, "Float");
  };