Skip to content

Commit

Permalink
Fixing typo in a comment (#17081)
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
betobe authored Nov 23, 2023
1 parent b7c40ff commit c019a4f
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 c019a4f

Please sign in to comment.