if I understand the question, then the solution is on my crib sheet:
Python
Using multiplication to create a larger array, e.g. [0, 1] * 10
JS
Array(10).fill([0,1]).flat();
Ref: dvbridges
if I understand the question, then the solution is on my crib sheet:
Python
Using multiplication to create a larger array, e.g. [0, 1] * 10
JS
Array(10).fill([0,1]).flat();
Ref: dvbridges