Say you have 2 identical functions that do not return a value
function a() { // do some interesting things } function b() { // do the same interesti
Generally you are returning a value. So for instance,
function b() { return 'hello'; } a = b(); console.log(a);
Will output "hello" to your console.