Fix RegEx methods typo in code
This commit is contained in:
parent
99bc9bf01c
commit
31e3c58f03
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ The array may have more than one element.
|
||||||
For instance:
|
For instance:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
lar str = "JavaScript is a programming language";
|
let str = "JavaScript is a programming language";
|
||||||
|
|
||||||
let result = str.match( *!*/JAVA(SCRIPT)/i*/!* );
|
let result = str.match( *!*/JAVA(SCRIPT)/i*/!* );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue