Sha256: ec0efbcd36e3a6bc4e6cc5f325efb9c15b49067df7da0681c193f215d2a4cefc
Contents?: true
Size: 408 Bytes
Versions: 11
Compression:
Stored size: 408 Bytes
Contents
"use strict"; x; // error (unless disallowUnknownReferences=false) if (true) { x; // error if (true) { x; // error } if (true) { let x; x; // ok } let f = function() { return x; // ok }; f(); // ok from a static analysis standpoint but runtime error in ES6 let x = 3; f(); // ok x; // ok if (true) { x; // ok } }
Version data entries
11 entries across 11 versions & 4 rubygems