daily pastebin goal
89%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. function sum(N, R) {
  3.     for(var i = 1; i <= N; i = i*R) {
  4.         console.log(i);
  5.  
  6.     }
  7.   }
  8.  
  9. sum(1024,2);
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