MCPcopy Create free account
hub / github.com/Klerith/node-intro-javascript / imprimeHeroe

Function imprimeHeroe

desestructuracion.js:17–20  ·  view source on GitHub ↗
({ nombre, apellido, poder, edad = 0 })

Source from the content-addressed store, hash-verified

15// const poder = deadpool.poder;
16
17function imprimeHeroe({ nombre, apellido, poder, edad = 0 }) {
18 nombre = 'Fernando';
19 console.log(nombre, apellido, poder, edad );
20}
21
22// imprimeHeroe( deadpool );
23

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected