SHARE
TWEET

Untitled

a guest Apr 21st, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var checkItem = (arguments)=>{
  2.     const u = Math.arguments.length;
  3.         var p = 0;
  4.     for (var x =1; x < arguments; x++) {
  5.         if (x % 15===0) {
  6.             console.log(`${x}:is present`);
  7.         }
  8.         p = p + x;
  9.         console.log(`X:${x}`);
  10.  
  11.  
  12.     }
  13.     return;
  14. }
  15. console.log(checkItem(20,10,30,40));
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