Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type var to type let #34902

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
code:type 'var' is modified to type 'let'
PoojaDurgad committed Aug 24, 2020
commit 06f20cebd9c6be8085aa94dcb3795a919ba1a586
2 changes: 1 addition & 1 deletion test/sequential/test-repl-timeout-throw.js
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ child.stdout.once('data', function() {
function eeTest() {
child.stdin.write('setTimeout(function() {\n' +
' const events = require("events");\n' +
' var e = new events.EventEmitter;\n' +
' let e = new events.EventEmitter;\n' +
' process.nextTick(function() {\n' +
' e.on("x", thrower);\n' +
' setTimeout(function() {\n' +