Skip to content

Commit 7b4fff8

Browse files
committed
chore: better wording
1 parent 49a399c commit 7b4fff8

File tree

1 file changed

+2
-1
lines changed
  • packages/runtime/src/helpers

1 file changed

+2
-1
lines changed

packages/runtime/src/helpers/edge.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ const fetch = async (url, init) => {
116116
}
117117
}
118118
119-
// Latest Next uses "self" as a function-scoped global-like object, but older versions expect it to equal "globalThis"
119+
// Next edge runtime uses "self" as a function-scoped global-like object, but some of the older polyfills expect it to equal globalThis
120+
// See https://nextjs.org/docs/basic-features/supported-browsers-features#polyfills
120121
const self = { ...globalThis, fetch }
121122
122123
`

0 commit comments

Comments
 (0)