// es2015 const noOp = () => {}; const testReflectApply = Reflect.apply(noOp, this, []); const testReflectConstruct = Reflect.construct(noOp, []); const testReflectDefineProperty = Reflect.defineProperty({}, "", {}); const testReflectDeleteProperty = Reflect.deleteProperty({}, ""); const testReflectGet = Reflect.get({}, ""); const testReflectGetOwnPropertyDescriptor = Reflect.getOwnPropertyDescriptor({}, ""); const testReflectGetPrototypeOf = Reflect.getPrototypeOf({}); const testReflectIsExtensible = Reflect.isExtensible({}); const testReflectOwnKeys = Reflect.ownKeys({}); const testReflectPreventExtensions = Reflect.preventExtensions({}); const testReflectSet = Reflect.set({}, "", 0); const testReflectSetPrototypeOf = Reflect.setPrototypeOf({}, {}); const testArrayFind = [""].find((val, idx, obj) => { return true; }); const testArrayFindIndex = [""].findIndex((val, idx, obj) => { return true; }); const testArrayFill = [""].fill("fill"); const testArrayCopyWithin = [""].copyWithin(0, 0); const testArrayEntries = [""].entries(); const testArrayKeys = [""].keys(); const testArrayValues = [""].values(); const testArrayConstructorFrom = Array.from([]); const testArrayConstructorOf = Array.of([]); const testObjectConstructorAssign = Object.assign({}, {}); const testObjectConstructorGetOwnPropertySymbols = Object.getOwnPropertySymbols({}); const testObjectConstructorKeys = Object.keys({}); const testObjectConstructorIs = Object.is({}, {}); const testObjectConstructorSetPrototypeOf = Object.setPrototypeOf({}, {}); const testNumberConstructorIsFinite = Number.isFinite(0); const testNumberConstructorIsInteger = Number.isInteger(0); const testNumberConstructorIsNan = Number.isNaN(0); const testNumberConstructorIsSafeInteger = Number.isSafeInteger(0); const testNumberConstructorParseFloat = Number.parseFloat("0"); const testNumberConstructorParseInt = Number.parseInt("0"); const testMathClz32 = Math.clz32(0); const testMathImul = Math.imul(0,0); const testMathSign = Math.sign(0); const testMathLog10 = Math.log10(0); const testMathLog2 = Math.log2(0); const testMathLog1p = Math.log1p(0); const testMathExpm1 = Math.expm1(0); const testMathCosh = Math.cosh(0); const testMathSinh = Math.sinh(0); const testMathTanh = Math.tanh(0); const testMathAcosh = Math.acosh(0); const testMathAsinh = Math.asinh(0); const testMathAtanh = Math.atanh(0); const testMathHypot = Math.hypot(0,0); const testMathTrunc = Math.trunc(0); const testMathFround = Math.fround(0); const testMathCbrt = Math.cbrt(0); const testMap: Map = null as any; const testSet: Set = null as any; const testPromiseAll = Promise.all([]); const testPromiseRace = Promise.race([]); const testPromiseResolve = Promise.resolve(); const testPromiseReject = Promise.reject(); const testSymbolFor = Symbol.for('a'); const testSymbolKeyFor = Symbol.keyFor(testSymbolFor); const testWeakMap: WeakMap = null as any; const testWeakSet: WeakMap = null as any; const testIterator: Iterator = null as any; const testAsyncIterator: AsyncIterator = null as any; const testStringCodePointAt = "".codePointAt(0); const testStringIncludes = "".includes(""); const testStringEndsWith = "".endsWith(""); const testStringNormalize = "".normalize(); const testStringRepeat = "".repeat(0); const testStringStartsWith = "".startsWith(""); const testStringAnchor = "".anchor(""); const testStringBig = "".big(); const testStringBlink = "".blink(); const testStringBold = "".bold(); const testStringFixed = "".fixed(); const testStringFontColor = "".fontcolor("blue"); const testStringFontSize = "".fontsize(0); const testStringItalics = "".italics(); const testStringLink = "".link(""); const testStringSmall = "".small(); const testStringStrike = "".strike(); const testStringSub = "".sub(); const testStringSup = "".sup(); const testStringConstructorFromCodePoint = String.fromCodePoint(); const testStringConstructorRaw = String.raw``; const testRegExpFlags = /abc/g.flags; const testRegExpSticky = /abc/g.sticky; const testRegExpUnicode = /abc/g.unicode;