daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. button.addEventListener('click', spell);
  2.  
  3. function spell(event) {
  4.     event.preventDefault();
  5.     let newArr = [];
  6.  
  7.     for (let i=0; i<userText.length; i++) {
  8.         newArr.push(userText[i]);
  9.     }
  10.     programText.textContent = newArr;
  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