Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map.js 171B

123456
  1. var concatMap = require('../');
  2. var xs = [ 1, 2, 3, 4, 5, 6 ];
  3. var ys = concatMap(xs, function (x) {
  4. return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
  5. });
  6. console.dir(ys);