summaryrefslogtreecommitdiff
path: root/lib/internal/repl.js
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2017-02-27 17:57:44 -0800
committerTimothy Gu <timothygu99@gmail.com>2017-03-06 19:22:23 -0800
commitb77c89022b5eaa8204e7957ea49290cd0ed6aac2 (patch)
tree863fc6c9d50b20fee5f4e61d5bb4e775d804f595 /lib/internal/repl.js
parent60c8115f6347d469a43a843fbef3aa2c19bbf3a4 (diff)
downloadandroid-node-v8-b77c89022b5eaa8204e7957ea49290cd0ed6aac2.tar.gz
android-node-v8-b77c89022b5eaa8204e7957ea49290cd0ed6aac2.tar.bz2
android-node-v8-b77c89022b5eaa8204e7957ea49290cd0ed6aac2.zip
repl: remove magic mode semantics
The workaround used in repl to support `let` and `const` in non-strict mode (known as "magic" mode) has been unnecessary since V8 v4.9 / Node.js v6.0.0. This commit functionally removes this workaround. PR-URL: https://github.com/nodejs/node/pull/11599 Refs: https://v8project.blogspot.com/2016/01/v8-release-49.html Refs: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.0.0 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
Diffstat (limited to 'lib/internal/repl.js')
0 files changed, 0 insertions, 0 deletions