Imagine I have this function:
function test(firstNumber,SecondNumber){
return (firstNumber*secondNumber);
}
I want to do the same function (the above function) in a different way like bellow and I want to know how is it possible in JavaScript:
var firstNumber= 10; //some number;
firstNumber.test(secondNumber);