blob: 533b4ce9c69a386d9ac0a02858bf3ebe4502f8df [file] [log] [blame]
x.valueOf()
x.valueOf.call(undefined)
TypeError: Object.prototype.valueOf: 'this' is null or undefined
x.valueOf.call(null)
TypeError: Object.prototype.valueOf: 'this' is null or undefined
x.valueOf.call()
TypeError: Object.prototype.valueOf: 'this' is null or undefined
typeof x.valueOf.call(true)
object
typeof x.valueOf.call(42)
object
typeof x.valueOf.call('Hello')
object