odin-javascript-exercises/node_modules/text-table/example/doubledot.js

12 lines
206 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
var table = require('../');
var t = table([
[ '0.1.2' ],
[ '11.22.33' ],
[ '5.6.7' ],
[ '1.22222' ],
[ '12345.' ],
[ '5555.' ],
[ '123' ]
], { align: [ '.' ] });
console.log(t);