Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/azat-co/practicalnode
/ basic-promise-3.js
File
basic-promise-3.js
code/ch14/promise/basic-promise-3.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
fs = require(
'fs'
)
2
function
readFilePromise( filename ) {
3
let
_callback = () => {}
4
let
_errorCallback = () => {}
Callers
nothing calls this directly
Calls
1
readFilePromise
Function · 0.85
Tested by
no test coverage detected