Commit 1b71231d authored by Myles Borins's avatar Myles Borins Committed by Evan Lucas
Browse files

test: fix test-vm-cached-data to work with old v8

While `let` no longer needs to run in `strict mode` in v8 5.x it throws
in v8 4. This modification will make the test-vm-cached-data work in
older version of node.

Refs: https://github.com/nodejs/node/pull/6280

PR-URL: https://github.com/nodejs/node/pull/6317


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarFedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: default avatarMichaël Zasso <mic.besace@gmail.com>
parent 0eb25cb4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment