commit by magit in emacs@2022-09-12 12:35:06
This commit is contained in:
parent
4948ae1ad3
commit
04ee6c9d6b
|
@ -1,3 +1,7 @@
|
|||
|
||||
// 判断是否为字符串
|
||||
typeof '' === 'string';
|
||||
|
||||
// 判断字符串是否包含子串,区分大小写
|
||||
'Blue Whale'.includes('blue'); // returns false
|
||||
'blue ss'.indexOf('blue');
|
||||
|
|
Loading…
Reference in New Issue