5 lines
82 B
JavaScript

var a = "str";
(function () {
throw new Error("\"a\" is read-only");
})(), --a;