caching arr.length; Array#slice