摘要: 1、concat()array.concat(value1, value2, ..., valueN); //其中value1、value2等可以数组也可以是字符串、数字等其他类型的数据功能:将两个或两个以上个数组的元素抽取出来组合成一个新的数组。1 strArr = ['a', 'b', 'c']2 numArr = [1,2,3,4,5]3 str = 'String'4 strArr.concat(numArr, str); => ["a", "b", "c" 阅读全文
posted @ 2013-05-02 21:46 Jing5022 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 查看本地磁盘信息:ls-l/dev/disk/by-uuidtotal 0lrwxrwxrwx 1 root root 10 May 24 14:14 2C10CFFB10CFCA52 -> ../../sda6lrwxrwxrwx 1 root root 10 May 24 14:14 3A88EA3B88E9F573 -> ../../sda1lrwxrwxrwx 1 root root 11 May 24 14:14 5326af25-5d9d-43f3-9db2-34c57053ddcb -> ../../sda10lrwxrwxrwx 1 root root 10 阅读全文
posted @ 2013-04-01 12:29 Jing5022 阅读(322) 评论(0) 推荐(0) 编辑