Skip to content

Commit

Permalink
Correct typo in comment [nocode]
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Nov 7, 2023
1 parent f1e1b07 commit 84f3fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/serialize/blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ module.exports = {
// A better solution when outputting sloppy mode code would be to just use a var called `arguments`,
// rather than injecting. Of course this isn't possible in ESM.
// TODO: Ensure scope function using `this` is strict mode if value of `this` is not an object.
// In sloppy mode literals passed as `this` gets boxed.
// In sloppy mode, literals passed as `this` get boxed.
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#securing_javascript
// TODO: Also doesn't work where `this` or `arguments` is circular and is injected late.
if (frozenThisVarName) {
Expand Down

0 comments on commit 84f3fd0

Please sign in to comment.