JSFiddle - React, Tailwind, and code Playground

by Ryan

JavaScript

var memory = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];


function memcopy(arr, src, dest, len) {

	return arr;
}

console.log(memcopy(memory, 0, 5, 2));