We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98649fd commit b89fd75Copy full SHA for b89fd75
1 file changed
test/parallel/test-repl-harmony.js
@@ -3,10 +3,10 @@ var common = require('../common');
3
var assert = require('assert');
4
5
var spawn = require('child_process').spawn;
6
-var args = ['--harmony', '--harmony_scoping', '--use-strict', '-i'];
+var args = ['-i'];
7
var child = spawn(process.execPath, args);
8
9
-var input = '(function(){const y=1;y=2})()\n';
+var input = '(function(){"use strict"; const y=1;y=2})()\n';
10
var expectOut = /^> TypeError: Assignment to constant variable.\n/;
11
12
child.stderr.setEncoding('utf8');
0 commit comments