摘要: 索引辨析 indexOf() 在字符串中寻找索引 1 const paragraph = 'The quick brown fox jumps over the lazy dog. If the dog barked, was it really lazy?'; 2 const searchTerm 阅读全文
posted @ 2020-03-31 15:43 wsh1995 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 在当前行下边插入一行 Ctrl+Enter 在当前行上方插入一行 Ctrl+Shift+Enter 1、注释: a) 单行注释:[ctrl+k,ctrl+c] 或 ctrl+/ b) 取消单行注释:[ctrl+k,ctrl+u] (按下ctrl不放,再按k + u) c) 多行注释:[alt+shi 阅读全文
posted @ 2020-03-31 13:13 wsh1995 阅读(295) 评论(0) 推荐(0) 编辑