Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Klerith/node-intro-javascript
/ getUsuarioByID
Function
getUsuarioByID
callbacks.js:7–18 ·
view source on GitHub ↗
( id, callback )
Source
from the content-addressed store, hash-verified
5
6
7
const
getUsuarioByID = ( id, callback ) => {
8
9
const
user = {
10
id,
11
nombre:
'Fernando'
12
}
13
14
setTimeout( () => {
15
callback(user)
16
}, 1500 )
17
18
}
19
20
21
getUsuarioByID( 10, ( usuario ) => {
Callers
1
callbacks.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected