slice and slice$

Really just some simple arithmetic composition of mid, but included
because it could be handy. ECMA does actually specify array and string
slice syntax, so why not?