daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest May 16th, 2018 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function recortar(){
  2.    var logitud = 20;
  3.    var dato = "texto largo";
  4.    var datoAMostrar = "";
  5.  
  6.    for(var i = 0; i < logitud; i++)
  7.        datoAMostrar = datoAMostrar + dato[i];
  8.  
  9.    datoAMostrar = datoAMostrar + "...";
  10.  
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top