| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d6d0427 commit 98d59aa
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -232,7 +232,7 @@ the `require.resolve()` function. | |||
| 232 | 232 | Putting together all of the above, here is the high-level algorithm | |
| 233 | 233 | in pseudocode of what `require()` does: | |
| 234 | 234 | ||
| 235 | - <pre> | ||
| 235 | + ```text | ||
| 236 | 236 | require(X) from module at path Y | |
| 237 | 237 | 1. If X is a core module, | |
| 238 | 238 | a. return the core module | |
@@ -335,7 +335,7 @@ RESOLVE_ESM_MATCH(MATCH) | |||
| 335 | 335 | 2. If the file at RESOLVED_PATH exists, load RESOLVED_PATH as its extension | |
| 336 | 336 | format. STOP | |
| 337 | 337 | 3. THROW "not found" | |
| 338 | - </pre> | ||
| 338 | + ``` | ||
| 339 | 339 | ||
| 340 | 340 | ## Caching | |
| 341 | 341 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments