Yngvarr

Generation

generate functionSun, 12 Feb 2023

обрезка массива

function cutArray(arrayToCut, from, to) { return arrayToCut.slice(from, to); } cutArray([2, 3, 4, 5, 6, 7, 8, 9], 2, 5)

Questions about programming?Chat with your personal AI assistant