FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
course_node/import.js at master · mrdca/course_node · GitHub
mrdca
course_node
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
course_node
/
import.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
10 lines (5 loc) · 266 Bytes
Breadcrumbs
course_node
/
import.js
Copy path
File metadata and controls
executable file
·
10 lines (5 loc) · 266 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
var
hello
=
require
(
'./export.js'
)
;
//I just import one function
console
.
log
(
hello
.
sayHello
(
)
)
;
var
importData
=
require
(
'./exports'
)
;
//By this way I import some functions
console
.
log
(
importData
.
myFirstFunction
(
)
)
;
console
.
log
(
importData
.
mySecondFunction
(
)
)
;
Back
|
FazBrowse Home
|
New Git URL