1// Copyright JS Foundation and other contributors, http://js.foundation 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15try { 16 Boolean(decodeURI(decodeURIComponent(Number()))); 17} catch(err) {} 18 try { 19 ReferenceError(isNaN(__proto__)); 20 } catch(err) {} 21 try { 22 isNaN(__proto__); 23 } catch(err) {} 24 try { 25 load(); 26 } catch(err) {} 27 try { 28 RegExp("\n"); 29 } catch(err) {} 30 try {} catch(err) {} 31 try { 32 ReferenceError(performance.__proto__.isPrototypeOf(arguments.map(os))); 33 } catch(err) {} 34 try { 35 Float64Array(performance,WeakSet(),Infinity.valueOf()); 36 } catch(err) {} 37 try { 38 arguments.push(Int8Array(Boolean(isFinite(quit())),ArrayBuffer(os.system()),Array(read()))); 39 } catch(err) {} 40 try { 41 Boolean(encodeURI(DataView(ArrayBuffer(os),parseFloat(Set()),URIError(Object(Int8Array(Function(parseInt(write(),RangeError(__proto__.valueOf()))),Int16Array(Map(),__proto__.valueOf(),readbuffer()),Math)))))); 42 } catch(err) {} 43