UNPKG

257 BJavaScriptView Raw
1#!/usr/bin/env node
2
3var sc = require('skale-engine').context();
4
5sc.range(10).map(a => a * 2).collect().then(console.log);
6
7sc.range(10, -5, -3).collect().then(console.log);
8
9sc.range(-4, 3).collect(function(err, res) {
10 console.log(res);
11 sc.end();
12});