Correct mis-use of "it's"
This commit is contained in:
parent
ac7daa516f
commit
6af9a2e2a4
14 changed files with 29 additions and 29 deletions
|
@ -16,7 +16,7 @@ The pattern `pattern:^Mary` means: "string start and then Mary".
|
|||
Similar to this, we can test if the string ends with `snow` using `pattern:snow$`:
|
||||
|
||||
```js run
|
||||
let str1 = "it's fleece was white as snow";
|
||||
let str1 = "its fleece was white as snow";
|
||||
alert( /snow$/.test(str1) ); // true
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue