Define Functions in JavaScript A Function could be a block of code that completes an action or returns a value. It is a custom code outlined by programmers...
Tag - javascript functions list
Write a function which returns 1 that 2 is passed and return 2 when 1 is passed.Source : Adobe Interview Experience Set 19 .