Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
betobe authored Nov 23, 2023
1 parent b7c40ff commit e8544b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ assert(Object.isFrozen(obj) === true);
obj.foo = "quux"; // No hace nada de manera silenciosa
obj.quaxxor = "the friendly duck"; // No agrega una nueva propiedad, de manera silenciosa

// ...y en modo estrico tal intento arrojará TypeErrors
// ...y en modo estricto tal intento arrojará TypeErrors
function fail() {
"use strict";
obj.foo = "sparky"; // arroja un TypeError
Expand Down

0 comments on commit e8544b6

Please sign in to comment.