daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest May 23rd, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  // This function should increment the start value by 1
  2. // the number of times specified.
  3. function increment(start, timesToIncrement) {
  4.   // Add the appropriate code here. You must update
  5.   // the condition in the while loop. You may want to
  6.   // create a new variable to keep track of how many
  7.   // times you have incremeneted the variable.
  8.   var start=0;
  9.   while( start < timesToIncrement  ) {
  10.         start++;
  11.   }
  12.   return start;
  13. }
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