Was there a reason for removing the `var` here? I'm not positive how scoping works in JSTalk / CocoaScript, but it does use JavascriptCore. In Javascript, this would make `slice` a global, which will likely cause mysterious problems at some point in the future.