font end development

Truncate a Little Javascript

This is a snippet for me but fond that it may also be helpful to many so I wanted to take some time to place