js利用prototype调用array的slice方法示例_javascript技巧