Gazebo_simulation-Frontend/node_modules/array-map/example/map.js
2020-12-21 10:29:31 -05:00

6 lines
141 B
JavaScript

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