Skip to content

Instantly share code, notes, and snippets.

View egovelox's full-sized avatar
🛹
Skating

egovelox

🛹
Skating
View GitHub Profile
//jshint esnext:true
"use strict";
var family = ["maxime", "juliette", "diane"];
virtualFamily = family.map(function (person, index) {
return { person: person, index: index + 1 };
});