We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 991d6b0 commit d76d549Copy full SHA for d76d549
1-js/05-data-types/03-string/3-truncate/solution.md
@@ -1,6 +1,6 @@
1
-The maximal length must be `maxlength`, so we need to cut it a little shorter, to give space for the ellipsis.
+Panjang maksimum adalah `maxlength`, jadi kita perlu memotongnya menjadi lebih pendek, untuk memberi tempat bagi elipsis.
2
3
-Note that there is actually a single unicode character for an ellipsis. That's not three dots.
+Perlu diperhatikan bahwa elipsis hanyalah sebuah karakter unicode, bukan tiga karakter titik.
4
5
```js run demo
6
function truncate(str, maxlength) {
0 commit comments