-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
- 8.1.3:
- macOS Sierra 10.12.5:
Lets say I run the following code in the REPL
let url = require('url')
let parsed = url.parse(null)It correctly spews out a type error
TypeError: Parameter "url" must be a string, not object
However, if I subsequently try to define parsed I get errors
parsed = 1
ReferenceError: parsed is not defined
let parsed = 1
SyntaxError: Identifier 'parsed' has already been declaredMetadata
Metadata
Assignees
Labels
duplicateIssues and PRs that are duplicates of other issues or PRs.Issues and PRs that are duplicates of other issues or PRs.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.