GT2/GT2-Android/node_modules/array-map/example/map.js

6 lines
141 B
JavaScript
Raw Normal View History

var map = require('../');
var letters = map([97,98,99], function (c) {
return String.fromCharCode(c);
});
console.log(letters.join(''));