JSFiddle - React, Tailwind, and code Playground

by Julian Garcia Castillo

JavaScript

var s = 'not very long';
s.trunc(25); //=> not very long
s.trunc(5); //=> not ...

console.log(s)