mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-14 05:14:28 -08:00
WIP
This commit is contained in:
3
docs/examples/globalThis/global.js
Normal file
3
docs/examples/globalThis/global.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const test = () => {
|
||||
return globalThis.mark
|
||||
}
|
||||
3
docs/examples/globalThis/global2.js
Normal file
3
docs/examples/globalThis/global2.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export const test = () => {
|
||||
return globalThis.mark
|
||||
}
|
||||
5
docs/examples/globalThis/index.js
Normal file
5
docs/examples/globalThis/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// external
|
||||
import {test} from './global.js'
|
||||
console.log(globalThis.main)
|
||||
test()
|
||||
|
||||
Reference in New Issue
Block a user