Skip to content

ZNTC0803: Deleting an identifier is not allowed in strict mode

Deleting an identifier is not allowed in strict mode

Category: Parser: Strict Mode

"use strict"; var x = 1; delete x;

Reproduce in Playground →

See the error message for cause and resolution.