Skip to content

Instantly share code, notes, and snippets.

@SeanConnelly
Created September 14, 2017 12:23
Show Gist options
  • Save SeanConnelly/4c25afc61113ee113ec14211f59076ec to your computer and use it in GitHub Desktop.
Save SeanConnelly/4c25afc61113ee113ec14211f59076ec to your computer and use it in GitHub Desktop.
Functions for testing JavaScript coercion
module.export = [
function() { return 0 == 0 },
function() { return 0 == '0' },
function() { return 0 == [0] },
function() { return 0 == [] },
function() { return 0 == {} },
function() { return 0 == '' },
function() { return 0 == null },
function() { return 0 == [null] },
function() { return 0 == undefined },
function() { return 0 == NaN },
function() { return 0 == [NaN] },
function() { return 0 == 'a' },
function() { return 0 == Infinity },
function() { return 0 == 1 },
function() { return 0 == '1' },
function() { return 0 == [1] },
function() { return 0 == true },
function() { return 0 == false },
function() { return 0 == 'true' },
function() { return 0 == 'false' },
function() { return '0' == 0 },
function() { return '0' == '0' },
function() { return '0' == [0] },
function() { return '0' == [] },
function() { return '0' == {} },
function() { return '0' == '' },
function() { return '0' == null },
function() { return '0' == [null] },
function() { return '0' == undefined },
function() { return '0' == NaN },
function() { return '0' == [NaN] },
function() { return '0' == 'a' },
function() { return '0' == Infinity },
function() { return '0' == 1 },
function() { return '0' == '1' },
function() { return '0' == [1] },
function() { return '0' == true },
function() { return '0' == false },
function() { return '0' == 'true' },
function() { return '0' == 'false' },
function() { return [0] == 0 },
function() { return [0] == '0' },
function() { return [0] == [0] },
function() { return [0] == [] },
function() { return [0] == {} },
function() { return [0] == '' },
function() { return [0] == null },
function() { return [0] == [null] },
function() { return [0] == undefined },
function() { return [0] == NaN },
function() { return [0] == [NaN] },
function() { return [0] == 'a' },
function() { return [0] == Infinity },
function() { return [0] == 1 },
function() { return [0] == '1' },
function() { return [0] == [1] },
function() { return [0] == true },
function() { return [0] == false },
function() { return [0] == 'true' },
function() { return [0] == 'false' },
function() { return [] == 0 },
function() { return [] == '0' },
function() { return [] == [0] },
function() { return [] == [] },
function() { return [] == {} },
function() { return [] == '' },
function() { return [] == null },
function() { return [] == [null] },
function() { return [] == undefined },
function() { return [] == NaN },
function() { return [] == [NaN] },
function() { return [] == 'a' },
function() { return [] == Infinity },
function() { return [] == 1 },
function() { return [] == '1' },
function() { return [] == [1] },
function() { return [] == true },
function() { return [] == false },
function() { return [] == 'true' },
function() { return [] == 'false' },
function() { return {} == 0 },
function() { return {} == '0' },
function() { return {} == [0] },
function() { return {} == [] },
function() { return {} == {} },
function() { return {} == '' },
function() { return {} == null },
function() { return {} == [null] },
function() { return {} == undefined },
function() { return {} == NaN },
function() { return {} == [NaN] },
function() { return {} == 'a' },
function() { return {} == Infinity },
function() { return {} == 1 },
function() { return {} == '1' },
function() { return {} == [1] },
function() { return {} == true },
function() { return {} == false },
function() { return {} == 'true' },
function() { return {} == 'false' },
function() { return '' == 0 },
function() { return '' == '0' },
function() { return '' == [0] },
function() { return '' == [] },
function() { return '' == {} },
function() { return '' == '' },
function() { return '' == null },
function() { return '' == [null] },
function() { return '' == undefined },
function() { return '' == NaN },
function() { return '' == [NaN] },
function() { return '' == 'a' },
function() { return '' == Infinity },
function() { return '' == 1 },
function() { return '' == '1' },
function() { return '' == [1] },
function() { return '' == true },
function() { return '' == false },
function() { return '' == 'true' },
function() { return '' == 'false' },
function() { return null == 0 },
function() { return null == '0' },
function() { return null == [0] },
function() { return null == [] },
function() { return null == {} },
function() { return null == '' },
function() { return null == null },
function() { return null == [null] },
function() { return null == undefined },
function() { return null == NaN },
function() { return null == [NaN] },
function() { return null == 'a' },
function() { return null == Infinity },
function() { return null == 1 },
function() { return null == '1' },
function() { return null == [1] },
function() { return null == true },
function() { return null == false },
function() { return null == 'true' },
function() { return null == 'false' },
function() { return [null] == 0 },
function() { return [null] == '0' },
function() { return [null] == [0] },
function() { return [null] == [] },
function() { return [null] == {} },
function() { return [null] == '' },
function() { return [null] == null },
function() { return [null] == [null] },
function() { return [null] == undefined },
function() { return [null] == NaN },
function() { return [null] == [NaN] },
function() { return [null] == 'a' },
function() { return [null] == Infinity },
function() { return [null] == 1 },
function() { return [null] == '1' },
function() { return [null] == [1] },
function() { return [null] == true },
function() { return [null] == false },
function() { return [null] == 'true' },
function() { return [null] == 'false' },
function() { return undefined == 0 },
function() { return undefined == '0' },
function() { return undefined == [0] },
function() { return undefined == [] },
function() { return undefined == {} },
function() { return undefined == '' },
function() { return undefined == null },
function() { return undefined == [null] },
function() { return undefined == undefined },
function() { return undefined == NaN },
function() { return undefined == [NaN] },
function() { return undefined == 'a' },
function() { return undefined == Infinity },
function() { return undefined == 1 },
function() { return undefined == '1' },
function() { return undefined == [1] },
function() { return undefined == true },
function() { return undefined == false },
function() { return undefined == 'true' },
function() { return undefined == 'false' },
function() { return NaN == 0 },
function() { return NaN == '0' },
function() { return NaN == [0] },
function() { return NaN == [] },
function() { return NaN == {} },
function() { return NaN == '' },
function() { return NaN == null },
function() { return NaN == [null] },
function() { return NaN == undefined },
function() { return NaN == NaN },
function() { return NaN == [NaN] },
function() { return NaN == 'a' },
function() { return NaN == Infinity },
function() { return NaN == 1 },
function() { return NaN == '1' },
function() { return NaN == [1] },
function() { return NaN == true },
function() { return NaN == false },
function() { return NaN == 'true' },
function() { return NaN == 'false' },
function() { return [NaN] == 0 },
function() { return [NaN] == '0' },
function() { return [NaN] == [0] },
function() { return [NaN] == [] },
function() { return [NaN] == {} },
function() { return [NaN] == '' },
function() { return [NaN] == null },
function() { return [NaN] == [null] },
function() { return [NaN] == undefined },
function() { return [NaN] == NaN },
function() { return [NaN] == [NaN] },
function() { return [NaN] == 'a' },
function() { return [NaN] == Infinity },
function() { return [NaN] == 1 },
function() { return [NaN] == '1' },
function() { return [NaN] == [1] },
function() { return [NaN] == true },
function() { return [NaN] == false },
function() { return [NaN] == 'true' },
function() { return [NaN] == 'false' },
function() { return 'a' == 0 },
function() { return 'a' == '0' },
function() { return 'a' == [0] },
function() { return 'a' == [] },
function() { return 'a' == {} },
function() { return 'a' == '' },
function() { return 'a' == null },
function() { return 'a' == [null] },
function() { return 'a' == undefined },
function() { return 'a' == NaN },
function() { return 'a' == [NaN] },
function() { return 'a' == 'a' },
function() { return 'a' == Infinity },
function() { return 'a' == 1 },
function() { return 'a' == '1' },
function() { return 'a' == [1] },
function() { return 'a' == true },
function() { return 'a' == false },
function() { return 'a' == 'true' },
function() { return 'a' == 'false' },
function() { return Infinity == 0 },
function() { return Infinity == '0' },
function() { return Infinity == [0] },
function() { return Infinity == [] },
function() { return Infinity == {} },
function() { return Infinity == '' },
function() { return Infinity == null },
function() { return Infinity == [null] },
function() { return Infinity == undefined },
function() { return Infinity == NaN },
function() { return Infinity == [NaN] },
function() { return Infinity == 'a' },
function() { return Infinity == Infinity },
function() { return Infinity == 1 },
function() { return Infinity == '1' },
function() { return Infinity == [1] },
function() { return Infinity == true },
function() { return Infinity == false },
function() { return Infinity == 'true' },
function() { return Infinity == 'false' },
function() { return 1 == 0 },
function() { return 1 == '0' },
function() { return 1 == [0] },
function() { return 1 == [] },
function() { return 1 == {} },
function() { return 1 == '' },
function() { return 1 == null },
function() { return 1 == [null] },
function() { return 1 == undefined },
function() { return 1 == NaN },
function() { return 1 == [NaN] },
function() { return 1 == 'a' },
function() { return 1 == Infinity },
function() { return 1 == 1 },
function() { return 1 == '1' },
function() { return 1 == [1] },
function() { return 1 == true },
function() { return 1 == false },
function() { return 1 == 'true' },
function() { return 1 == 'false' },
function() { return '1' == 0 },
function() { return '1' == '0' },
function() { return '1' == [0] },
function() { return '1' == [] },
function() { return '1' == {} },
function() { return '1' == '' },
function() { return '1' == null },
function() { return '1' == [null] },
function() { return '1' == undefined },
function() { return '1' == NaN },
function() { return '1' == [NaN] },
function() { return '1' == 'a' },
function() { return '1' == Infinity },
function() { return '1' == 1 },
function() { return '1' == '1' },
function() { return '1' == [1] },
function() { return '1' == true },
function() { return '1' == false },
function() { return '1' == 'true' },
function() { return '1' == 'false' },
function() { return [1] == 0 },
function() { return [1] == '0' },
function() { return [1] == [0] },
function() { return [1] == [] },
function() { return [1] == {} },
function() { return [1] == '' },
function() { return [1] == null },
function() { return [1] == [null] },
function() { return [1] == undefined },
function() { return [1] == NaN },
function() { return [1] == [NaN] },
function() { return [1] == 'a' },
function() { return [1] == Infinity },
function() { return [1] == 1 },
function() { return [1] == '1' },
function() { return [1] == [1] },
function() { return [1] == true },
function() { return [1] == false },
function() { return [1] == 'true' },
function() { return [1] == 'false' },
function() { return true == 0 },
function() { return true == '0' },
function() { return true == [0] },
function() { return true == [] },
function() { return true == {} },
function() { return true == '' },
function() { return true == null },
function() { return true == [null] },
function() { return true == undefined },
function() { return true == NaN },
function() { return true == [NaN] },
function() { return true == 'a' },
function() { return true == Infinity },
function() { return true == 1 },
function() { return true == '1' },
function() { return true == [1] },
function() { return true == true },
function() { return true == false },
function() { return true == 'true' },
function() { return true == 'false' },
function() { return false == 0 },
function() { return false == '0' },
function() { return false == [0] },
function() { return false == [] },
function() { return false == {} },
function() { return false == '' },
function() { return false == null },
function() { return false == [null] },
function() { return false == undefined },
function() { return false == NaN },
function() { return false == [NaN] },
function() { return false == 'a' },
function() { return false == Infinity },
function() { return false == 1 },
function() { return false == '1' },
function() { return false == [1] },
function() { return false == true },
function() { return false == false },
function() { return false == 'true' },
function() { return false == 'false' },
function() { return 'true' == 0 },
function() { return 'true' == '0' },
function() { return 'true' == [0] },
function() { return 'true' == [] },
function() { return 'true' == {} },
function() { return 'true' == '' },
function() { return 'true' == null },
function() { return 'true' == [null] },
function() { return 'true' == undefined },
function() { return 'true' == NaN },
function() { return 'true' == [NaN] },
function() { return 'true' == 'a' },
function() { return 'true' == Infinity },
function() { return 'true' == 1 },
function() { return 'true' == '1' },
function() { return 'true' == [1] },
function() { return 'true' == true },
function() { return 'true' == false },
function() { return 'true' == 'true' },
function() { return 'true' == 'false' },
function() { return 'false' == 0 },
function() { return 'false' == '0' },
function() { return 'false' == [0] },
function() { return 'false' == [] },
function() { return 'false' == {} },
function() { return 'false' == '' },
function() { return 'false' == null },
function() { return 'false' == [null] },
function() { return 'false' == undefined },
function() { return 'false' == NaN },
function() { return 'false' == [NaN] },
function() { return 'false' == 'a' },
function() { return 'false' == Infinity },
function() { return 'false' == 1 },
function() { return 'false' == '1' },
function() { return 'false' == [1] },
function() { return 'false' == true },
function() { return 'false' == false },
function() { return 'false' == 'true' },
function() { return 'false' == 'false' },
function() { return 0 === 0 },
function() { return 0 === '0' },
function() { return 0 === [0] },
function() { return 0 === [] },
function() { return 0 === {} },
function() { return 0 === '' },
function() { return 0 === null },
function() { return 0 === [null] },
function() { return 0 === undefined },
function() { return 0 === NaN },
function() { return 0 === [NaN] },
function() { return 0 === 'a' },
function() { return 0 === Infinity },
function() { return 0 === 1 },
function() { return 0 === '1' },
function() { return 0 === [1] },
function() { return 0 === true },
function() { return 0 === false },
function() { return 0 === 'true' },
function() { return 0 === 'false' },
function() { return '0' === 0 },
function() { return '0' === '0' },
function() { return '0' === [0] },
function() { return '0' === [] },
function() { return '0' === {} },
function() { return '0' === '' },
function() { return '0' === null },
function() { return '0' === [null] },
function() { return '0' === undefined },
function() { return '0' === NaN },
function() { return '0' === [NaN] },
function() { return '0' === 'a' },
function() { return '0' === Infinity },
function() { return '0' === 1 },
function() { return '0' === '1' },
function() { return '0' === [1] },
function() { return '0' === true },
function() { return '0' === false },
function() { return '0' === 'true' },
function() { return '0' === 'false' },
function() { return [0] === 0 },
function() { return [0] === '0' },
function() { return [0] === [0] },
function() { return [0] === [] },
function() { return [0] === {} },
function() { return [0] === '' },
function() { return [0] === null },
function() { return [0] === [null] },
function() { return [0] === undefined },
function() { return [0] === NaN },
function() { return [0] === [NaN] },
function() { return [0] === 'a' },
function() { return [0] === Infinity },
function() { return [0] === 1 },
function() { return [0] === '1' },
function() { return [0] === [1] },
function() { return [0] === true },
function() { return [0] === false },
function() { return [0] === 'true' },
function() { return [0] === 'false' },
function() { return [] === 0 },
function() { return [] === '0' },
function() { return [] === [0] },
function() { return [] === [] },
function() { return [] === {} },
function() { return [] === '' },
function() { return [] === null },
function() { return [] === [null] },
function() { return [] === undefined },
function() { return [] === NaN },
function() { return [] === [NaN] },
function() { return [] === 'a' },
function() { return [] === Infinity },
function() { return [] === 1 },
function() { return [] === '1' },
function() { return [] === [1] },
function() { return [] === true },
function() { return [] === false },
function() { return [] === 'true' },
function() { return [] === 'false' },
function() { return {} === 0 },
function() { return {} === '0' },
function() { return {} === [0] },
function() { return {} === [] },
function() { return {} === {} },
function() { return {} === '' },
function() { return {} === null },
function() { return {} === [null] },
function() { return {} === undefined },
function() { return {} === NaN },
function() { return {} === [NaN] },
function() { return {} === 'a' },
function() { return {} === Infinity },
function() { return {} === 1 },
function() { return {} === '1' },
function() { return {} === [1] },
function() { return {} === true },
function() { return {} === false },
function() { return {} === 'true' },
function() { return {} === 'false' },
function() { return '' === 0 },
function() { return '' === '0' },
function() { return '' === [0] },
function() { return '' === [] },
function() { return '' === {} },
function() { return '' === '' },
function() { return '' === null },
function() { return '' === [null] },
function() { return '' === undefined },
function() { return '' === NaN },
function() { return '' === [NaN] },
function() { return '' === 'a' },
function() { return '' === Infinity },
function() { return '' === 1 },
function() { return '' === '1' },
function() { return '' === [1] },
function() { return '' === true },
function() { return '' === false },
function() { return '' === 'true' },
function() { return '' === 'false' },
function() { return null === 0 },
function() { return null === '0' },
function() { return null === [0] },
function() { return null === [] },
function() { return null === {} },
function() { return null === '' },
function() { return null === null },
function() { return null === [null] },
function() { return null === undefined },
function() { return null === NaN },
function() { return null === [NaN] },
function() { return null === 'a' },
function() { return null === Infinity },
function() { return null === 1 },
function() { return null === '1' },
function() { return null === [1] },
function() { return null === true },
function() { return null === false },
function() { return null === 'true' },
function() { return null === 'false' },
function() { return [null] === 0 },
function() { return [null] === '0' },
function() { return [null] === [0] },
function() { return [null] === [] },
function() { return [null] === {} },
function() { return [null] === '' },
function() { return [null] === null },
function() { return [null] === [null] },
function() { return [null] === undefined },
function() { return [null] === NaN },
function() { return [null] === [NaN] },
function() { return [null] === 'a' },
function() { return [null] === Infinity },
function() { return [null] === 1 },
function() { return [null] === '1' },
function() { return [null] === [1] },
function() { return [null] === true },
function() { return [null] === false },
function() { return [null] === 'true' },
function() { return [null] === 'false' },
function() { return undefined === 0 },
function() { return undefined === '0' },
function() { return undefined === [0] },
function() { return undefined === [] },
function() { return undefined === {} },
function() { return undefined === '' },
function() { return undefined === null },
function() { return undefined === [null] },
function() { return undefined === undefined },
function() { return undefined === NaN },
function() { return undefined === [NaN] },
function() { return undefined === 'a' },
function() { return undefined === Infinity },
function() { return undefined === 1 },
function() { return undefined === '1' },
function() { return undefined === [1] },
function() { return undefined === true },
function() { return undefined === false },
function() { return undefined === 'true' },
function() { return undefined === 'false' },
function() { return NaN === 0 },
function() { return NaN === '0' },
function() { return NaN === [0] },
function() { return NaN === [] },
function() { return NaN === {} },
function() { return NaN === '' },
function() { return NaN === null },
function() { return NaN === [null] },
function() { return NaN === undefined },
function() { return NaN === NaN },
function() { return NaN === [NaN] },
function() { return NaN === 'a' },
function() { return NaN === Infinity },
function() { return NaN === 1 },
function() { return NaN === '1' },
function() { return NaN === [1] },
function() { return NaN === true },
function() { return NaN === false },
function() { return NaN === 'true' },
function() { return NaN === 'false' },
function() { return [NaN] === 0 },
function() { return [NaN] === '0' },
function() { return [NaN] === [0] },
function() { return [NaN] === [] },
function() { return [NaN] === {} },
function() { return [NaN] === '' },
function() { return [NaN] === null },
function() { return [NaN] === [null] },
function() { return [NaN] === undefined },
function() { return [NaN] === NaN },
function() { return [NaN] === [NaN] },
function() { return [NaN] === 'a' },
function() { return [NaN] === Infinity },
function() { return [NaN] === 1 },
function() { return [NaN] === '1' },
function() { return [NaN] === [1] },
function() { return [NaN] === true },
function() { return [NaN] === false },
function() { return [NaN] === 'true' },
function() { return [NaN] === 'false' },
function() { return 'a' === 0 },
function() { return 'a' === '0' },
function() { return 'a' === [0] },
function() { return 'a' === [] },
function() { return 'a' === {} },
function() { return 'a' === '' },
function() { return 'a' === null },
function() { return 'a' === [null] },
function() { return 'a' === undefined },
function() { return 'a' === NaN },
function() { return 'a' === [NaN] },
function() { return 'a' === 'a' },
function() { return 'a' === Infinity },
function() { return 'a' === 1 },
function() { return 'a' === '1' },
function() { return 'a' === [1] },
function() { return 'a' === true },
function() { return 'a' === false },
function() { return 'a' === 'true' },
function() { return 'a' === 'false' },
function() { return Infinity === 0 },
function() { return Infinity === '0' },
function() { return Infinity === [0] },
function() { return Infinity === [] },
function() { return Infinity === {} },
function() { return Infinity === '' },
function() { return Infinity === null },
function() { return Infinity === [null] },
function() { return Infinity === undefined },
function() { return Infinity === NaN },
function() { return Infinity === [NaN] },
function() { return Infinity === 'a' },
function() { return Infinity === Infinity },
function() { return Infinity === 1 },
function() { return Infinity === '1' },
function() { return Infinity === [1] },
function() { return Infinity === true },
function() { return Infinity === false },
function() { return Infinity === 'true' },
function() { return Infinity === 'false' },
function() { return 1 === 0 },
function() { return 1 === '0' },
function() { return 1 === [0] },
function() { return 1 === [] },
function() { return 1 === {} },
function() { return 1 === '' },
function() { return 1 === null },
function() { return 1 === [null] },
function() { return 1 === undefined },
function() { return 1 === NaN },
function() { return 1 === [NaN] },
function() { return 1 === 'a' },
function() { return 1 === Infinity },
function() { return 1 === 1 },
function() { return 1 === '1' },
function() { return 1 === [1] },
function() { return 1 === true },
function() { return 1 === false },
function() { return 1 === 'true' },
function() { return 1 === 'false' },
function() { return '1' === 0 },
function() { return '1' === '0' },
function() { return '1' === [0] },
function() { return '1' === [] },
function() { return '1' === {} },
function() { return '1' === '' },
function() { return '1' === null },
function() { return '1' === [null] },
function() { return '1' === undefined },
function() { return '1' === NaN },
function() { return '1' === [NaN] },
function() { return '1' === 'a' },
function() { return '1' === Infinity },
function() { return '1' === 1 },
function() { return '1' === '1' },
function() { return '1' === [1] },
function() { return '1' === true },
function() { return '1' === false },
function() { return '1' === 'true' },
function() { return '1' === 'false' },
function() { return [1] === 0 },
function() { return [1] === '0' },
function() { return [1] === [0] },
function() { return [1] === [] },
function() { return [1] === {} },
function() { return [1] === '' },
function() { return [1] === null },
function() { return [1] === [null] },
function() { return [1] === undefined },
function() { return [1] === NaN },
function() { return [1] === [NaN] },
function() { return [1] === 'a' },
function() { return [1] === Infinity },
function() { return [1] === 1 },
function() { return [1] === '1' },
function() { return [1] === [1] },
function() { return [1] === true },
function() { return [1] === false },
function() { return [1] === 'true' },
function() { return [1] === 'false' },
function() { return true === 0 },
function() { return true === '0' },
function() { return true === [0] },
function() { return true === [] },
function() { return true === {} },
function() { return true === '' },
function() { return true === null },
function() { return true === [null] },
function() { return true === undefined },
function() { return true === NaN },
function() { return true === [NaN] },
function() { return true === 'a' },
function() { return true === Infinity },
function() { return true === 1 },
function() { return true === '1' },
function() { return true === [1] },
function() { return true === true },
function() { return true === false },
function() { return true === 'true' },
function() { return true === 'false' },
function() { return false === 0 },
function() { return false === '0' },
function() { return false === [0] },
function() { return false === [] },
function() { return false === {} },
function() { return false === '' },
function() { return false === null },
function() { return false === [null] },
function() { return false === undefined },
function() { return false === NaN },
function() { return false === [NaN] },
function() { return false === 'a' },
function() { return false === Infinity },
function() { return false === 1 },
function() { return false === '1' },
function() { return false === [1] },
function() { return false === true },
function() { return false === false },
function() { return false === 'true' },
function() { return false === 'false' },
function() { return 'true' === 0 },
function() { return 'true' === '0' },
function() { return 'true' === [0] },
function() { return 'true' === [] },
function() { return 'true' === {} },
function() { return 'true' === '' },
function() { return 'true' === null },
function() { return 'true' === [null] },
function() { return 'true' === undefined },
function() { return 'true' === NaN },
function() { return 'true' === [NaN] },
function() { return 'true' === 'a' },
function() { return 'true' === Infinity },
function() { return 'true' === 1 },
function() { return 'true' === '1' },
function() { return 'true' === [1] },
function() { return 'true' === true },
function() { return 'true' === false },
function() { return 'true' === 'true' },
function() { return 'true' === 'false' },
function() { return 'false' === 0 },
function() { return 'false' === '0' },
function() { return 'false' === [0] },
function() { return 'false' === [] },
function() { return 'false' === {} },
function() { return 'false' === '' },
function() { return 'false' === null },
function() { return 'false' === [null] },
function() { return 'false' === undefined },
function() { return 'false' === NaN },
function() { return 'false' === [NaN] },
function() { return 'false' === 'a' },
function() { return 'false' === Infinity },
function() { return 'false' === 1 },
function() { return 'false' === '1' },
function() { return 'false' === [1] },
function() { return 'false' === true },
function() { return 'false' === false },
function() { return 'false' === 'true' },
function() { return 'false' === 'false' },
function() { return 0 + 0 },
function() { return 0 + '0' },
function() { return 0 + [0] },
function() { return 0 + [] },
function() { return 0 + {} },
function() { return 0 + '' },
function() { return 0 + null },
function() { return 0 + [null] },
function() { return 0 + undefined },
function() { return 0 + NaN },
function() { return 0 + [NaN] },
function() { return 0 + 'a' },
function() { return 0 + Infinity },
function() { return 0 + 1 },
function() { return 0 + '1' },
function() { return 0 + [1] },
function() { return 0 + true },
function() { return 0 + false },
function() { return 0 + 'true' },
function() { return 0 + 'false' },
function() { return '0' + 0 },
function() { return '0' + '0' },
function() { return '0' + [0] },
function() { return '0' + [] },
function() { return '0' + {} },
function() { return '0' + '' },
function() { return '0' + null },
function() { return '0' + [null] },
function() { return '0' + undefined },
function() { return '0' + NaN },
function() { return '0' + [NaN] },
function() { return '0' + 'a' },
function() { return '0' + Infinity },
function() { return '0' + 1 },
function() { return '0' + '1' },
function() { return '0' + [1] },
function() { return '0' + true },
function() { return '0' + false },
function() { return '0' + 'true' },
function() { return '0' + 'false' },
function() { return [0] + 0 },
function() { return [0] + '0' },
function() { return [0] + [0] },
function() { return [0] + [] },
function() { return [0] + {} },
function() { return [0] + '' },
function() { return [0] + null },
function() { return [0] + [null] },
function() { return [0] + undefined },
function() { return [0] + NaN },
function() { return [0] + [NaN] },
function() { return [0] + 'a' },
function() { return [0] + Infinity },
function() { return [0] + 1 },
function() { return [0] + '1' },
function() { return [0] + [1] },
function() { return [0] + true },
function() { return [0] + false },
function() { return [0] + 'true' },
function() { return [0] + 'false' },
function() { return [] + 0 },
function() { return [] + '0' },
function() { return [] + [0] },
function() { return [] + [] },
function() { return [] + {} },
function() { return [] + '' },
function() { return [] + null },
function() { return [] + [null] },
function() { return [] + undefined },
function() { return [] + NaN },
function() { return [] + [NaN] },
function() { return [] + 'a' },
function() { return [] + Infinity },
function() { return [] + 1 },
function() { return [] + '1' },
function() { return [] + [1] },
function() { return [] + true },
function() { return [] + false },
function() { return [] + 'true' },
function() { return [] + 'false' },
function() { return {} + 0 },
function() { return {} + '0' },
function() { return {} + [0] },
function() { return {} + [] },
function() { return {} + {} },
function() { return {} + '' },
function() { return {} + null },
function() { return {} + [null] },
function() { return {} + undefined },
function() { return {} + NaN },
function() { return {} + [NaN] },
function() { return {} + 'a' },
function() { return {} + Infinity },
function() { return {} + 1 },
function() { return {} + '1' },
function() { return {} + [1] },
function() { return {} + true },
function() { return {} + false },
function() { return {} + 'true' },
function() { return {} + 'false' },
function() { return '' + 0 },
function() { return '' + '0' },
function() { return '' + [0] },
function() { return '' + [] },
function() { return '' + {} },
function() { return '' + '' },
function() { return '' + null },
function() { return '' + [null] },
function() { return '' + undefined },
function() { return '' + NaN },
function() { return '' + [NaN] },
function() { return '' + 'a' },
function() { return '' + Infinity },
function() { return '' + 1 },
function() { return '' + '1' },
function() { return '' + [1] },
function() { return '' + true },
function() { return '' + false },
function() { return '' + 'true' },
function() { return '' + 'false' },
function() { return null + 0 },
function() { return null + '0' },
function() { return null + [0] },
function() { return null + [] },
function() { return null + {} },
function() { return null + '' },
function() { return null + null },
function() { return null + [null] },
function() { return null + undefined },
function() { return null + NaN },
function() { return null + [NaN] },
function() { return null + 'a' },
function() { return null + Infinity },
function() { return null + 1 },
function() { return null + '1' },
function() { return null + [1] },
function() { return null + true },
function() { return null + false },
function() { return null + 'true' },
function() { return null + 'false' },
function() { return [null] + 0 },
function() { return [null] + '0' },
function() { return [null] + [0] },
function() { return [null] + [] },
function() { return [null] + {} },
function() { return [null] + '' },
function() { return [null] + null },
function() { return [null] + [null] },
function() { return [null] + undefined },
function() { return [null] + NaN },
function() { return [null] + [NaN] },
function() { return [null] + 'a' },
function() { return [null] + Infinity },
function() { return [null] + 1 },
function() { return [null] + '1' },
function() { return [null] + [1] },
function() { return [null] + true },
function() { return [null] + false },
function() { return [null] + 'true' },
function() { return [null] + 'false' },
function() { return undefined + 0 },
function() { return undefined + '0' },
function() { return undefined + [0] },
function() { return undefined + [] },
function() { return undefined + {} },
function() { return undefined + '' },
function() { return undefined + null },
function() { return undefined + [null] },
function() { return undefined + undefined },
function() { return undefined + NaN },
function() { return undefined + [NaN] },
function() { return undefined + 'a' },
function() { return undefined + Infinity },
function() { return undefined + 1 },
function() { return undefined + '1' },
function() { return undefined + [1] },
function() { return undefined + true },
function() { return undefined + false },
function() { return undefined + 'true' },
function() { return undefined + 'false' },
function() { return NaN + 0 },
function() { return NaN + '0' },
function() { return NaN + [0] },
function() { return NaN + [] },
function() { return NaN + {} },
function() { return NaN + '' },
function() { return NaN + null },
function() { return NaN + [null] },
function() { return NaN + undefined },
function() { return NaN + NaN },
function() { return NaN + [NaN] },
function() { return NaN + 'a' },
function() { return NaN + Infinity },
function() { return NaN + 1 },
function() { return NaN + '1' },
function() { return NaN + [1] },
function() { return NaN + true },
function() { return NaN + false },
function() { return NaN + 'true' },
function() { return NaN + 'false' },
function() { return [NaN] + 0 },
function() { return [NaN] + '0' },
function() { return [NaN] + [0] },
function() { return [NaN] + [] },
function() { return [NaN] + {} },
function() { return [NaN] + '' },
function() { return [NaN] + null },
function() { return [NaN] + [null] },
function() { return [NaN] + undefined },
function() { return [NaN] + NaN },
function() { return [NaN] + [NaN] },
function() { return [NaN] + 'a' },
function() { return [NaN] + Infinity },
function() { return [NaN] + 1 },
function() { return [NaN] + '1' },
function() { return [NaN] + [1] },
function() { return [NaN] + true },
function() { return [NaN] + false },
function() { return [NaN] + 'true' },
function() { return [NaN] + 'false' },
function() { return 'a' + 0 },
function() { return 'a' + '0' },
function() { return 'a' + [0] },
function() { return 'a' + [] },
function() { return 'a' + {} },
function() { return 'a' + '' },
function() { return 'a' + null },
function() { return 'a' + [null] },
function() { return 'a' + undefined },
function() { return 'a' + NaN },
function() { return 'a' + [NaN] },
function() { return 'a' + 'a' },
function() { return 'a' + Infinity },
function() { return 'a' + 1 },
function() { return 'a' + '1' },
function() { return 'a' + [1] },
function() { return 'a' + true },
function() { return 'a' + false },
function() { return 'a' + 'true' },
function() { return 'a' + 'false' },
function() { return Infinity + 0 },
function() { return Infinity + '0' },
function() { return Infinity + [0] },
function() { return Infinity + [] },
function() { return Infinity + {} },
function() { return Infinity + '' },
function() { return Infinity + null },
function() { return Infinity + [null] },
function() { return Infinity + undefined },
function() { return Infinity + NaN },
function() { return Infinity + [NaN] },
function() { return Infinity + 'a' },
function() { return Infinity + Infinity },
function() { return Infinity + 1 },
function() { return Infinity + '1' },
function() { return Infinity + [1] },
function() { return Infinity + true },
function() { return Infinity + false },
function() { return Infinity + 'true' },
function() { return Infinity + 'false' },
function() { return 1 + 0 },
function() { return 1 + '0' },
function() { return 1 + [0] },
function() { return 1 + [] },
function() { return 1 + {} },
function() { return 1 + '' },
function() { return 1 + null },
function() { return 1 + [null] },
function() { return 1 + undefined },
function() { return 1 + NaN },
function() { return 1 + [NaN] },
function() { return 1 + 'a' },
function() { return 1 + Infinity },
function() { return 1 + 1 },
function() { return 1 + '1' },
function() { return 1 + [1] },
function() { return 1 + true },
function() { return 1 + false },
function() { return 1 + 'true' },
function() { return 1 + 'false' },
function() { return '1' + 0 },
function() { return '1' + '0' },
function() { return '1' + [0] },
function() { return '1' + [] },
function() { return '1' + {} },
function() { return '1' + '' },
function() { return '1' + null },
function() { return '1' + [null] },
function() { return '1' + undefined },
function() { return '1' + NaN },
function() { return '1' + [NaN] },
function() { return '1' + 'a' },
function() { return '1' + Infinity },
function() { return '1' + 1 },
function() { return '1' + '1' },
function() { return '1' + [1] },
function() { return '1' + true },
function() { return '1' + false },
function() { return '1' + 'true' },
function() { return '1' + 'false' },
function() { return [1] + 0 },
function() { return [1] + '0' },
function() { return [1] + [0] },
function() { return [1] + [] },
function() { return [1] + {} },
function() { return [1] + '' },
function() { return [1] + null },
function() { return [1] + [null] },
function() { return [1] + undefined },
function() { return [1] + NaN },
function() { return [1] + [NaN] },
function() { return [1] + 'a' },
function() { return [1] + Infinity },
function() { return [1] + 1 },
function() { return [1] + '1' },
function() { return [1] + [1] },
function() { return [1] + true },
function() { return [1] + false },
function() { return [1] + 'true' },
function() { return [1] + 'false' },
function() { return true + 0 },
function() { return true + '0' },
function() { return true + [0] },
function() { return true + [] },
function() { return true + {} },
function() { return true + '' },
function() { return true + null },
function() { return true + [null] },
function() { return true + undefined },
function() { return true + NaN },
function() { return true + [NaN] },
function() { return true + 'a' },
function() { return true + Infinity },
function() { return true + 1 },
function() { return true + '1' },
function() { return true + [1] },
function() { return true + true },
function() { return true + false },
function() { return true + 'true' },
function() { return true + 'false' },
function() { return false + 0 },
function() { return false + '0' },
function() { return false + [0] },
function() { return false + [] },
function() { return false + {} },
function() { return false + '' },
function() { return false + null },
function() { return false + [null] },
function() { return false + undefined },
function() { return false + NaN },
function() { return false + [NaN] },
function() { return false + 'a' },
function() { return false + Infinity },
function() { return false + 1 },
function() { return false + '1' },
function() { return false + [1] },
function() { return false + true },
function() { return false + false },
function() { return false + 'true' },
function() { return false + 'false' },
function() { return 'true' + 0 },
function() { return 'true' + '0' },
function() { return 'true' + [0] },
function() { return 'true' + [] },
function() { return 'true' + {} },
function() { return 'true' + '' },
function() { return 'true' + null },
function() { return 'true' + [null] },
function() { return 'true' + undefined },
function() { return 'true' + NaN },
function() { return 'true' + [NaN] },
function() { return 'true' + 'a' },
function() { return 'true' + Infinity },
function() { return 'true' + 1 },
function() { return 'true' + '1' },
function() { return 'true' + [1] },
function() { return 'true' + true },
function() { return 'true' + false },
function() { return 'true' + 'true' },
function() { return 'true' + 'false' },
function() { return 'false' + 0 },
function() { return 'false' + '0' },
function() { return 'false' + [0] },
function() { return 'false' + [] },
function() { return 'false' + {} },
function() { return 'false' + '' },
function() { return 'false' + null },
function() { return 'false' + [null] },
function() { return 'false' + undefined },
function() { return 'false' + NaN },
function() { return 'false' + [NaN] },
function() { return 'false' + 'a' },
function() { return 'false' + Infinity },
function() { return 'false' + 1 },
function() { return 'false' + '1' },
function() { return 'false' + [1] },
function() { return 'false' + true },
function() { return 'false' + false },
function() { return 'false' + 'true' },
function() { return 'false' + 'false' },
function() { return 0 * 0 },
function() { return 0 * '0' },
function() { return 0 * [0] },
function() { return 0 * [] },
function() { return 0 * {} },
function() { return 0 * '' },
function() { return 0 * null },
function() { return 0 * [null] },
function() { return 0 * undefined },
function() { return 0 * NaN },
function() { return 0 * [NaN] },
function() { return 0 * 'a' },
function() { return 0 * Infinity },
function() { return 0 * 1 },
function() { return 0 * '1' },
function() { return 0 * [1] },
function() { return 0 * true },
function() { return 0 * false },
function() { return 0 * 'true' },
function() { return 0 * 'false' },
function() { return '0' * 0 },
function() { return '0' * '0' },
function() { return '0' * [0] },
function() { return '0' * [] },
function() { return '0' * {} },
function() { return '0' * '' },
function() { return '0' * null },
function() { return '0' * [null] },
function() { return '0' * undefined },
function() { return '0' * NaN },
function() { return '0' * [NaN] },
function() { return '0' * 'a' },
function() { return '0' * Infinity },
function() { return '0' * 1 },
function() { return '0' * '1' },
function() { return '0' * [1] },
function() { return '0' * true },
function() { return '0' * false },
function() { return '0' * 'true' },
function() { return '0' * 'false' },
function() { return [0] * 0 },
function() { return [0] * '0' },
function() { return [0] * [0] },
function() { return [0] * [] },
function() { return [0] * {} },
function() { return [0] * '' },
function() { return [0] * null },
function() { return [0] * [null] },
function() { return [0] * undefined },
function() { return [0] * NaN },
function() { return [0] * [NaN] },
function() { return [0] * 'a' },
function() { return [0] * Infinity },
function() { return [0] * 1 },
function() { return [0] * '1' },
function() { return [0] * [1] },
function() { return [0] * true },
function() { return [0] * false },
function() { return [0] * 'true' },
function() { return [0] * 'false' },
function() { return [] * 0 },
function() { return [] * '0' },
function() { return [] * [0] },
function() { return [] * [] },
function() { return [] * {} },
function() { return [] * '' },
function() { return [] * null },
function() { return [] * [null] },
function() { return [] * undefined },
function() { return [] * NaN },
function() { return [] * [NaN] },
function() { return [] * 'a' },
function() { return [] * Infinity },
function() { return [] * 1 },
function() { return [] * '1' },
function() { return [] * [1] },
function() { return [] * true },
function() { return [] * false },
function() { return [] * 'true' },
function() { return [] * 'false' },
function() { return {} * 0 },
function() { return {} * '0' },
function() { return {} * [0] },
function() { return {} * [] },
function() { return {} * {} },
function() { return {} * '' },
function() { return {} * null },
function() { return {} * [null] },
function() { return {} * undefined },
function() { return {} * NaN },
function() { return {} * [NaN] },
function() { return {} * 'a' },
function() { return {} * Infinity },
function() { return {} * 1 },
function() { return {} * '1' },
function() { return {} * [1] },
function() { return {} * true },
function() { return {} * false },
function() { return {} * 'true' },
function() { return {} * 'false' },
function() { return '' * 0 },
function() { return '' * '0' },
function() { return '' * [0] },
function() { return '' * [] },
function() { return '' * {} },
function() { return '' * '' },
function() { return '' * null },
function() { return '' * [null] },
function() { return '' * undefined },
function() { return '' * NaN },
function() { return '' * [NaN] },
function() { return '' * 'a' },
function() { return '' * Infinity },
function() { return '' * 1 },
function() { return '' * '1' },
function() { return '' * [1] },
function() { return '' * true },
function() { return '' * false },
function() { return '' * 'true' },
function() { return '' * 'false' },
function() { return null * 0 },
function() { return null * '0' },
function() { return null * [0] },
function() { return null * [] },
function() { return null * {} },
function() { return null * '' },
function() { return null * null },
function() { return null * [null] },
function() { return null * undefined },
function() { return null * NaN },
function() { return null * [NaN] },
function() { return null * 'a' },
function() { return null * Infinity },
function() { return null * 1 },
function() { return null * '1' },
function() { return null * [1] },
function() { return null * true },
function() { return null * false },
function() { return null * 'true' },
function() { return null * 'false' },
function() { return [null] * 0 },
function() { return [null] * '0' },
function() { return [null] * [0] },
function() { return [null] * [] },
function() { return [null] * {} },
function() { return [null] * '' },
function() { return [null] * null },
function() { return [null] * [null] },
function() { return [null] * undefined },
function() { return [null] * NaN },
function() { return [null] * [NaN] },
function() { return [null] * 'a' },
function() { return [null] * Infinity },
function() { return [null] * 1 },
function() { return [null] * '1' },
function() { return [null] * [1] },
function() { return [null] * true },
function() { return [null] * false },
function() { return [null] * 'true' },
function() { return [null] * 'false' },
function() { return undefined * 0 },
function() { return undefined * '0' },
function() { return undefined * [0] },
function() { return undefined * [] },
function() { return undefined * {} },
function() { return undefined * '' },
function() { return undefined * null },
function() { return undefined * [null] },
function() { return undefined * undefined },
function() { return undefined * NaN },
function() { return undefined * [NaN] },
function() { return undefined * 'a' },
function() { return undefined * Infinity },
function() { return undefined * 1 },
function() { return undefined * '1' },
function() { return undefined * [1] },
function() { return undefined * true },
function() { return undefined * false },
function() { return undefined * 'true' },
function() { return undefined * 'false' },
function() { return NaN * 0 },
function() { return NaN * '0' },
function() { return NaN * [0] },
function() { return NaN * [] },
function() { return NaN * {} },
function() { return NaN * '' },
function() { return NaN * null },
function() { return NaN * [null] },
function() { return NaN * undefined },
function() { return NaN * NaN },
function() { return NaN * [NaN] },
function() { return NaN * 'a' },
function() { return NaN * Infinity },
function() { return NaN * 1 },
function() { return NaN * '1' },
function() { return NaN * [1] },
function() { return NaN * true },
function() { return NaN * false },
function() { return NaN * 'true' },
function() { return NaN * 'false' },
function() { return [NaN] * 0 },
function() { return [NaN] * '0' },
function() { return [NaN] * [0] },
function() { return [NaN] * [] },
function() { return [NaN] * {} },
function() { return [NaN] * '' },
function() { return [NaN] * null },
function() { return [NaN] * [null] },
function() { return [NaN] * undefined },
function() { return [NaN] * NaN },
function() { return [NaN] * [NaN] },
function() { return [NaN] * 'a' },
function() { return [NaN] * Infinity },
function() { return [NaN] * 1 },
function() { return [NaN] * '1' },
function() { return [NaN] * [1] },
function() { return [NaN] * true },
function() { return [NaN] * false },
function() { return [NaN] * 'true' },
function() { return [NaN] * 'false' },
function() { return 'a' * 0 },
function() { return 'a' * '0' },
function() { return 'a' * [0] },
function() { return 'a' * [] },
function() { return 'a' * {} },
function() { return 'a' * '' },
function() { return 'a' * null },
function() { return 'a' * [null] },
function() { return 'a' * undefined },
function() { return 'a' * NaN },
function() { return 'a' * [NaN] },
function() { return 'a' * 'a' },
function() { return 'a' * Infinity },
function() { return 'a' * 1 },
function() { return 'a' * '1' },
function() { return 'a' * [1] },
function() { return 'a' * true },
function() { return 'a' * false },
function() { return 'a' * 'true' },
function() { return 'a' * 'false' },
function() { return Infinity * 0 },
function() { return Infinity * '0' },
function() { return Infinity * [0] },
function() { return Infinity * [] },
function() { return Infinity * {} },
function() { return Infinity * '' },
function() { return Infinity * null },
function() { return Infinity * [null] },
function() { return Infinity * undefined },
function() { return Infinity * NaN },
function() { return Infinity * [NaN] },
function() { return Infinity * 'a' },
function() { return Infinity * Infinity },
function() { return Infinity * 1 },
function() { return Infinity * '1' },
function() { return Infinity * [1] },
function() { return Infinity * true },
function() { return Infinity * false },
function() { return Infinity * 'true' },
function() { return Infinity * 'false' },
function() { return 1 * 0 },
function() { return 1 * '0' },
function() { return 1 * [0] },
function() { return 1 * [] },
function() { return 1 * {} },
function() { return 1 * '' },
function() { return 1 * null },
function() { return 1 * [null] },
function() { return 1 * undefined },
function() { return 1 * NaN },
function() { return 1 * [NaN] },
function() { return 1 * 'a' },
function() { return 1 * Infinity },
function() { return 1 * 1 },
function() { return 1 * '1' },
function() { return 1 * [1] },
function() { return 1 * true },
function() { return 1 * false },
function() { return 1 * 'true' },
function() { return 1 * 'false' },
function() { return '1' * 0 },
function() { return '1' * '0' },
function() { return '1' * [0] },
function() { return '1' * [] },
function() { return '1' * {} },
function() { return '1' * '' },
function() { return '1' * null },
function() { return '1' * [null] },
function() { return '1' * undefined },
function() { return '1' * NaN },
function() { return '1' * [NaN] },
function() { return '1' * 'a' },
function() { return '1' * Infinity },
function() { return '1' * 1 },
function() { return '1' * '1' },
function() { return '1' * [1] },
function() { return '1' * true },
function() { return '1' * false },
function() { return '1' * 'true' },
function() { return '1' * 'false' },
function() { return [1] * 0 },
function() { return [1] * '0' },
function() { return [1] * [0] },
function() { return [1] * [] },
function() { return [1] * {} },
function() { return [1] * '' },
function() { return [1] * null },
function() { return [1] * [null] },
function() { return [1] * undefined },
function() { return [1] * NaN },
function() { return [1] * [NaN] },
function() { return [1] * 'a' },
function() { return [1] * Infinity },
function() { return [1] * 1 },
function() { return [1] * '1' },
function() { return [1] * [1] },
function() { return [1] * true },
function() { return [1] * false },
function() { return [1] * 'true' },
function() { return [1] * 'false' },
function() { return true * 0 },
function() { return true * '0' },
function() { return true * [0] },
function() { return true * [] },
function() { return true * {} },
function() { return true * '' },
function() { return true * null },
function() { return true * [null] },
function() { return true * undefined },
function() { return true * NaN },
function() { return true * [NaN] },
function() { return true * 'a' },
function() { return true * Infinity },
function() { return true * 1 },
function() { return true * '1' },
function() { return true * [1] },
function() { return true * true },
function() { return true * false },
function() { return true * 'true' },
function() { return true * 'false' },
function() { return false * 0 },
function() { return false * '0' },
function() { return false * [0] },
function() { return false * [] },
function() { return false * {} },
function() { return false * '' },
function() { return false * null },
function() { return false * [null] },
function() { return false * undefined },
function() { return false * NaN },
function() { return false * [NaN] },
function() { return false * 'a' },
function() { return false * Infinity },
function() { return false * 1 },
function() { return false * '1' },
function() { return false * [1] },
function() { return false * true },
function() { return false * false },
function() { return false * 'true' },
function() { return false * 'false' },
function() { return 'true' * 0 },
function() { return 'true' * '0' },
function() { return 'true' * [0] },
function() { return 'true' * [] },
function() { return 'true' * {} },
function() { return 'true' * '' },
function() { return 'true' * null },
function() { return 'true' * [null] },
function() { return 'true' * undefined },
function() { return 'true' * NaN },
function() { return 'true' * [NaN] },
function() { return 'true' * 'a' },
function() { return 'true' * Infinity },
function() { return 'true' * 1 },
function() { return 'true' * '1' },
function() { return 'true' * [1] },
function() { return 'true' * true },
function() { return 'true' * false },
function() { return 'true' * 'true' },
function() { return 'true' * 'false' },
function() { return 'false' * 0 },
function() { return 'false' * '0' },
function() { return 'false' * [0] },
function() { return 'false' * [] },
function() { return 'false' * {} },
function() { return 'false' * '' },
function() { return 'false' * null },
function() { return 'false' * [null] },
function() { return 'false' * undefined },
function() { return 'false' * NaN },
function() { return 'false' * [NaN] },
function() { return 'false' * 'a' },
function() { return 'false' * Infinity },
function() { return 'false' * 1 },
function() { return 'false' * '1' },
function() { return 'false' * [1] },
function() { return 'false' * true },
function() { return 'false' * false },
function() { return 'false' * 'true' },
function() { return 'false' * 'false' },
function() { if (0) {return true} else {return false} },
function() { if ('0') {return true} else {return false} },
function() { if ([0]) {return true} else {return false} },
function() { if ([]) {return true} else {return false} },
function() { if ({}) {return true} else {return false} },
function() { if ('') {return true} else {return false} },
function() { if (null) {return true} else {return false} },
function() { if ([null]) {return true} else {return false} },
function() { if (undefined) {return true} else {return false} },
function() { if (NaN) {return true} else {return false} },
function() { if ([NaN]) {return true} else {return false} },
function() { if ('a') {return true} else {return false} },
function() { if (Infinity) {return true} else {return false} },
function() { if (1) {return true} else {return false} },
function() { if ('1') {return true} else {return false} },
function() { if ([1]) {return true} else {return false} },
function() { if (true) {return true} else {return false} },
function() { if (false) {return true} else {return false} },
function() { if ('true') {return true} else {return false} },
function() { if ('false') {return true} else {return false} },
function() { return 0 },
function() { return '0' },
function() { return [0] },
function() { return [] },
function() { return {} },
function() { return '' },
function() { return null },
function() { return [null] },
function() { return undefined },
function() { return NaN },
function() { return [NaN] },
function() { return 'a' },
function() { return Infinity },
function() { return 1 },
function() { return '1' },
function() { return [1] },
function() { return true },
function() { return false },
function() { return 'true' },
function() { return 'false' },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment