The following currently logs Yahtzee
in node, chrome, firefox.
As you can see, not even prototype of Promise was set.
const fake = new Number(1)
fake.then = fn => setTimeout(fn, 0, 'Yahtzee')
const main = async () => {
console.log(await fake)
}
main()
Does this works universally? And more importantly, will this behavior likely persist?