-
in node < 10, or 10.2+, the following code in the REPL shows a rejected promise. in node 10.0 and 10.1, however, the promise is forever pending.
```js
var r, p = new Promise(y => { r = y; }); r({ th…
-
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.40.1 x64
**Electron**: 3.1.10
**OS**: Mac OS X 10.14.6
**Thrown From**: [proto-repl](https://github.com/jasongilman/proto-repl) package …
gw666 updated
5 years ago
-
### Describe the bug
I'm seeing something weird with whitespace... if I add an "if" block that won't execute, i.e. the condition is false, it messes up the whitespace collapsing logic somehow. Best t…
-
node.js latest version
`
var m = require("moment");
var i = require("moment-isocalendar");
m().isocalendar();
`
Throws
`
TypeError: Object Tue Aug 13 2013 18:20:36 GMT+0300 has no method 'isocalend…
-
The document says
`cwd(['one', 'two.js']);`
but we got
```
> cwd(['one', 'two.js'])
TypeError: Path must be a string. Received [ 'one', 'two.js' ]
at assertPath (path.js:7:11)
at Object.res…
-
The REPL design of read-eval-print-loop is confusing and difficult to use when programming. For example, user's cannot remove or modify specific lines of code. While the node.js REPL contains a save a…
-
```
> ts-repl
/home/d9k/.nvm/versions/node/v14.16.1/lib/node_modules/ts-node/src/index.ts:840
return new TSError(diagnost…
-
* Node 12.*:
* Windows 64bit, Debian 64bit:
The `--use-strict` flag doesn't apply strict mode to script.
reproduction:
```
echo a = 1 > test.js && node --use-strict test
```
expected behavior…
-
Originally reported on Google Code with ID 956
```
Required information!
OS version: Win7 SP? x64
ConEmu version: 130220 [64]
Far version (if you are using Far Manager): n/a
Pasting multiple lin…
-
It _does_ play correctly, but when the sound ends, this error occurs. Tried from both the REPL and a node script using node 7.7.2.