JS Promises in code-golf? [duplicate]

Should submissions written in JS that return a promise be allowed?

For example:

Promise.resolve("hi")


Doesn't output "hi", but outputs a promise that resolves with the value of "hi". If you want "hi", then

Promise.resolve("hi").then(console.log)


is needed. Should the .then(console.log) part be required (and therefore part of the byte count)?

• You might want to clarify what a promise is. – Dennis May 10 '17 at 17:26

This is just an (abnormal) way of output that can show up often in fetch / submissions. I think this is absolutely fine.