Difference between revisions of "Operators"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==Spread Operator == ''' Expands elements of an array ''' function addFourAges(a,b,c,d){ return a+b+c+d; }; var sum1 = addFourAges(18,19,20,21); ==Back To Top-[...")
(No difference)

Revision as of 16:10, 2 December 2016

Spread Operator

Expands elements of an array

function addFourAges(a,b,c,d){
return a+b+c+d;
};
var sum1 = addFourAges(18,19,20,21);


Back To Top- Home - Category