slice( start, 开始位置 end (可选)结束位置 ) 返回:字符串 注:负数:表示从后往前指定位置 示例: var str = "abcdef"; str.slice(3); //结果:def str.slice(3, 5); //结果:de