Skip to content

Instantly share code, notes, and snippets.

View alexismellamo's full-sized avatar
:octocat:

Alexis Navarro alexismellamo

:octocat:
View GitHub Profile
@alexismellamo
alexismellamo / .js
Created March 20, 2018 23:48 — forked from GeDiez/.js
Ejemplo crear objetos: puras funciones
let createPerson = (nombre, edad) => {
let getName = () => nombre;
return {
nombre,
edad,
getName,
}
}