Skip to content

Commit dac3720

Browse files
author
alias-rahil
committed
fix: comment
1 parent a1d2ea3 commit dac3720

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generator/js_generator.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3630,7 +3630,8 @@ void Generator::GenerateFile(const GeneratorOptions& options,
36303630
// set "this" inside the function to the global object. This does not work
36313631
// if we are running in strict mode ("use strict"), so we fallback to the
36323632
// following things (in order from first to last):
3633-
// - globalThis: defined in browsers
3633+
// - globalThis: cross-platform standard, might not be defined in older
3634+
// versions of browsers
36343635
// - window: defined in browsers
36353636
// - global: defined in most server side environments like NodeJS
36363637
// - self: defined inside Web Workers (WorkerGlobalScope)

0 commit comments

Comments
 (0)