mirror of
https://github.com/alrayyes/wiki.git
synced 2025-06-23 21:26:34 +00:00
Quartz sync: May 6, 2024, 10:40 PM
This commit is contained in:
parent
aee9145691
commit
4ef8371441
635 changed files with 22281 additions and 6 deletions
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
id: cc0d1937-ec92-4a2f-802d-f5fbde4e61b2
|
||||
title: JavaScript RegExp Search Method
|
||||
---
|
||||
|
||||
``` javascript
|
||||
console.log(" word".search(/\S/)); // 2
|
||||
console.log(" ".search(/\S/)); // -1
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue