Java Script - picklocks

  1. Generate array with elements 0 .. N
var N = 90;
var array = Array.apply(null, {length: N}).map(Number.call, Number)

to be continued...