ECMA Script creates tail call

In order to avoid extra stack creation we will use Tail call function to avoid it.

"use strict"

function _mul(a, b) {
   return (a * b);

function multiply(a, b) {
   return _mul(a, b);

With the above method we will be able to remove the stack creation of the inner function and use the stack of the outer function instead!