Closed
Description
From @alexandrudima on January 27, 2016 14:22
Testing #2218
function restricted()
{
"use strict";
restricted.ca
}
console.log(restricted());
Since we're at it, it could also highlight the caller
and arguments
below with a squiggly indicating a TypeError
:
function restricted()
{
"use strict";
restricted.caller; // throws a TypeError
restricted.arguments; // throws a TypeError
}
console.log(restricted());
Copied from original issue: microsoft/vscode#2454