Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alias-rahil committed Jul 27, 2022
1 parent a1d2ea3 commit dac3720
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generator/js_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3630,7 +3630,8 @@ void Generator::GenerateFile(const GeneratorOptions& options,
// set "this" inside the function to the global object. This does not work
// if we are running in strict mode ("use strict"), so we fallback to the
// following things (in order from first to last):
// - globalThis: defined in browsers
// - globalThis: cross-platform standard, might not be defined in older
// versions of browsers
// - window: defined in browsers
// - global: defined in most server side environments like NodeJS
// - self: defined inside Web Workers (WorkerGlobalScope)
Expand Down

0 comments on commit dac3720

Please sign in to comment.