Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

node js function infinite parameters

function print(...args) {
  args.forEach((arg, index) => {
    console.log(arg);
  });
}

print('hello', true, new Date());
Comment

PREVIOUS NEXT
Code Example
Javascript :: counting duplicate values javascript 
Javascript :: data table is not a function in vue 
Javascript :: node-schedule npm 
Javascript :: jquery remove multiple class 
Javascript :: react time input 
Javascript :: how to cancel request using axios cancel token 
Javascript :: incoroporate js and css file in html 
Javascript :: reverse a string while keeping spaces in javascript 
Javascript :: solo números js 
Javascript :: active-class router-link 
Javascript :: react context api with hooks 
Javascript :: fs fstat 
Javascript :: move element onclick javascript 
Javascript :: object.keys mdn 
Javascript :: without refresh update url in js 
Javascript :: javascript moment 
Javascript :: Javascript show password... 
Javascript :: mongoose find multiple conditions 
Javascript :: dynamic array in javascript 
Javascript :: how to make a check if letters are capital in discord js 
Javascript :: gsap scrolltrigger 
Javascript :: leaflet tile service 
Javascript :: js clearect 
Javascript :: buffer to image nodejs 
Javascript :: play notification sound on chat js 
Javascript :: javascript check if in array 
Javascript :: javascript list to object map 
Javascript :: sweetalert example 
Javascript :: javascript round 
Javascript :: regex expression for email 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =