-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Closed
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.questionIssues that look for answers.Issues that look for answers.wrong repoIssues that should be opened in another repository.Issues that should be opened in another repository.
Description
- Version: v9.3.0
- Platform: Linux genius 4.4.0-77-generic Updated README with less node.js-centric content, and more Node Forward. #98-Ubuntu SMP Wed Apr 26 08:34:02 UTC 2017 x86_64
- Subsystem: ES6 gramma
I'm new to node and javascript, I expect this code should work:
function test() {
let TMP = false;
(function() {
let TMP = TMP || true;
})();
}
test()
but when I run it, I get this error:
ReferenceError: TMP is not defined
Metadata
Metadata
Assignees
Labels
invalidIssues and PRs that are invalid.Issues and PRs that are invalid.questionIssues that look for answers.Issues that look for answers.wrong repoIssues that should be opened in another repository.Issues that should be opened in another repository.