Python Fixed Length Array Javascript Example