摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <script type='text/javascript'> 7 window.onload = f 阅读全文
posted @ 2020-07-23 20:26 走在路上的砍柴人 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 截取字符串的efg var arr = "abcdefg" console.log(arr.substring(4))//从第4位开始截(不包括第四位) } 阅读全文
posted @ 2020-07-23 19:58 走在路上的砍柴人 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <script type='text/javascript'> 7 window.onload = f 阅读全文
posted @ 2020-07-23 19:47 走在路上的砍柴人 阅读(548) 评论(0) 推荐(0) 编辑