Change "occasionally" to "accidentally"

This commit is contained in:
paroche 2019-08-20 17:05:33 -06:00 committed by GitHub
parent a38ab40724
commit 5a3a465b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ alert( '𝒳'.match(/[𝒳𝒴]/u) ); // 𝒳
Let's see one more example.
If we forget the `u` flag and occasionally use surrogate pairs, then we can get an error:
If we forget the `u` flag and accidentally use surrogate pairs, then we can get an error:
```js run
'𝒳'.match(/[𝒳-𝒴]/); // SyntaxError: invalid range in character class