Hapus kata terakhir di atas batas javascript
StringDotter(input){
while (1<2){
if (input.length >= 55) {
input = input.substring(0, input.lastIndexOf(" ")) + "...";
}
else{ return input}
}
}
Jeffery Gates