var arr = Array.from({length: 10000}).map(x => 1);