mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

Ruby脳には無理な相談だった…

$ cat index.js
Promise.new((resolve, reject) => {
resolve("One")
}).then(
msg => console.log(msg)
)
$ node index.js
/private/tmp/promise-playground/index.js:1
Promise.new((resolve, reject) => {
^

TypeError: Promise.new is not a function
at Object.<anonymous> (/private/tmp/promise-playground/index.js:1:12)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47