Passing arguments from one function to another in javascript

You may occa­sion­ally find your­self in a sit­u­a­tion where you need to per­form some oper­a­tions on the argu­ments of a func­tion and then pass on the same argu­ments to another func­tion for fur­ther processing.…