Doadd(1,2) doadd(1,2,3,4) use the above arguments to sum the value. Using without any parameter receive throught the function.?



Doadd(1,2) doadd(1,2,3,4) use the above arguments to sum the value. Using without any parameter rece..

Answer / Saleem Ahmed

The function doadd(arg1, arg2, ...args) accepts one or more arguments and sums their values. If no arguments are passed, it may return an error or a default value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are the cookies in angular 2?

1 Answers  


How would you pass data from a parent component to a child component?

1 Answers  


How can we implement spa with angular?

1 Answers  


What is the difference between es5 vs es6?

1 Answers  


What is @outputs in angular 2?

1 Answers  


What is candeactivate?

1 Answers  


What is the difference between an observable and a promise?

1 Answers  


Can I learn angular without knowing javascript?

1 Answers  


Is typescript an oop?

1 Answers  


What is the scope in angularjs?

1 Answers  


What is pipes in angular 2?

1 Answers  


How to share information between controllers in AngularJS?

1 Answers  


Categories