-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
SuggestionAn idea for TypeScriptAn idea for TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it
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
Metadata
Metadata
Assignees
Labels
SuggestionAn idea for TypeScriptAn idea for TypeScriptWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix itThe severity and priority of this issue do not warrant the time or complexity needed to fix it