Housekeeping, head, tail, init and last of list

This commit is contained in:
Angelos Chalaris
2017-12-10 17:59:07 +02:00
parent 2fa6e7bba8
commit b30a7af756
7 changed files with 76 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Use `replace()` to escape special characters.
```js
escapeRegExp = s =>
var escapeRegExp = s =>
s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}
```