Home
last modified time | relevance | path

Searched refs:ToInteger (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/npm/node_modules/es-abstract/test/
Des5.js93 t.ok(is(0, ES.ToInteger(NaN)), 'NaN coerces to +0');
95 t.ok(is(num, ES.ToInteger(num)), num + ' returns itself');
96 t.ok(is(-num, ES.ToInteger(-num)), '-' + num + ' returns itself');
98 t.equal(3, ES.ToInteger(Math.PI), 'pi returns 3');
99 …t['throws'](function () { return ES.ToInteger(uncoercibleObject); }, TypeError, 'uncoercibleObject…
Dtests.js202 t.ok(is(0, ES.ToInteger(NaN)), 'NaN coerces to +0');
204 t.ok(is(num, ES.ToInteger(num)), num + ' returns itself');
205 t.ok(is(-num, ES.ToInteger(-num)), '-' + num + ' returns itself');
207 t.equal(3, ES.ToInteger(Math.PI), 'pi returns 3');
208 …t['throws'](function () { return ES.ToInteger(v.uncoercibleObject); }, TypeError, 'uncoercibleObje…
/third_party/node/deps/npm/node_modules/es-abstract/
Des5.js30 ToInteger: function ToInteger(value) {
Des2017.js11 var integerIndex = this.ToInteger(value);
Des2015.js175 var len = this.ToInteger(argument);
/third_party/node/deps/npm/node_modules/es-abstract/operations/
D2015.js14 ToInteger: 'https://ecma-international.org/ecma-262/6.0/#sec-tointeger', property
D2016.js14 ToInteger: 'https://ecma-international.org/ecma-262/7.0/#sec-tointeger', property
D2017.js14 ToInteger: 'https://ecma-international.org/ecma-262/8.0/#sec-tointeger', property
/third_party/typescript/tests/cases/test262-harness/
Dhelpers.d.ts80 declare function ToInteger(p: any): any;
/third_party/node/src/api/
Dhooks.cc53 if (!exit_code_v->ToInteger(env->context()).ToLocal(&exit_code)) { in EmitProcessBeforeExit()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp69212 int32_t ToInteger(nsresult* aErrorCode, uint32_t aRadix = (10)) const;
69805 int32_t ToInteger(nsresult* aErrorCode, uint32_t aRadix = (10)) const;
128635 ToInteger(double d) in ToInteger() function