So, I have seen many JS functions that need two parameters, one of which is specified while calling the function i.e.
function(param)
and the other is specified using objects i.e. var.function(param)
with the function needing var
and param
. So I want to know how I can get var