FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Promise/JavaScript/1-callbacks.js at master · HowProgrammingWorks/Promise · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
HowProgrammingWorks
/
Promise
Public
Notifications
You must be signed in to change notification settings
Fork
13
Star
22
Code
Issues
2
Pull requests
9
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Promise
/
JavaScript
/
1-callbacks.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 416 Bytes
Breadcrumbs
Promise
/
JavaScript
/
1-callbacks.js
Copy path
File metadata and controls
16 lines (14 loc) · 416 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
;
const
fs
=
require
(
'node:fs'
)
;
fs
.
readFile
(
'file1.txt'
,
'utf8'
,
(
err
,
data
)
=>
{
if
(
err
)
console
.
error
(
err
)
;
else
console
.
log
(
{
data
}
)
;
fs
.
readFile
(
'file2.txt'
,
'utf8'
,
(
err
,
data
)
=>
{
if
(
err
)
console
.
error
(
err
)
;
else
console
.
log
(
{
data
}
)
;
fs
.
readFile
(
'file3.txt'
,
'utf8'
,
(
err
,
data
)
=>
{
if
(
err
)
console
.
error
(
err
)
;
else
console
.
log
(
{
data
}
)
;
}
)
;
}
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL