Functions can define their own promisified version using a symbol, which is what setTimeout does in Node.js
So yes, it works.
That makes sense. Good to know if we're using Node.js
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.