you can just use "Array.slice" instead of "[].slice" since the latter implies creating a garbage object for no reason.