参考阅读:http://billie66.github.io/TLCL/book/chap04.html 绝对路径 An absolute pathname begins with the root directory and follows the tree branch by branch until the path to the desired directory or file is completed. For example, there is a directory on you…
set sql_flow="select Id,',',ApplierName,',',FlowStatus,',',IsApproved,',',CreateTime from *** where ***"set sql_device="select deviceName,',',business,',',username,',',deviceMac,',',createtime,',',enabledflag from *"set user=saset pwd=…
要自当前光标位置向上搜索,请使用以下命令: /pattern Enter 其中,pattern 表示要搜索的特定字符序列. 要自当前光标位置向下搜索,请使用以下命令: ?pattern Enter 按下 Enter 键后,vi 将搜索指定的 pattern,并将光标定位在 pattern 的第一个字符处.例如,要向上搜索 place 一词,请键入: …
let与块级作用域 { var foo='foo'; let bar='bar'; } console.log(foo,'var'); //foo varconsole.log(bar ,'bar');//Uncaught ReferenceError: bar is not defined 在代码中,使用var申明的变量在代码块外面能被识别,但是let命令却不能被识别,这样就实现了js的块级作用域,我们在使用条件语句 循环语句等就会不担心变量污染的问题了,以下是两种写法等对比: es6: fo…