Node: throw false ignored in REPL

Created on 30 Oct 2017  ·  1Comment  ·  Source: nodejs/node

Node version: 8.6

Steps to reproduce:

$ node
> throw false;
undefined
> throw true
Thrown: true

Most helpful comment

@Ginden i tested this out at my local PR Build of https://github.com/nodejs/node/pull/16574 which is not yet landed.

> throw false
Thrown: false

>All comments

@Ginden i tested this out at my local PR Build of https://github.com/nodejs/node/pull/16574 which is not yet landed.

> throw false
Thrown: false
Was this page helpful?
0 / 5 - 0 ratings

Related issues

sandeepks1 picture sandeepks1  ·  3Comments

Brekmister picture Brekmister  ·  3Comments

dfahlander picture dfahlander  ·  3Comments

addaleax picture addaleax  ·  3Comments

willnwhite picture willnwhite  ·  3Comments