Archive, multitagging, cleanup

Cleaned up the current snippets for consistency and minor problems, added multiple tags to most of them, archived a few.
This commit is contained in:
Angelos Chalaris
2018-01-05 16:33:54 +02:00
parent 20b018359b
commit 931e9c689f
55 changed files with 2650 additions and 2682 deletions

View File

@ -3,7 +3,7 @@
Truncates a string up to a specified length.
Determine if the string's `length` is greater than `num`.
Return the string truncated to the desired length, with `...` appended to the end or the original string.
Return the string truncated to the desired length, with `'...'` appended to the end or the original string.
```js
const truncateString = (str, num) =>