All functions return a value (similar to VBA)
If a value is not explicitly returned then 'undefined' is returned.
A function declaration that does not have a specific return will return undefined
function add (x, y)
var z = x + y;
© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopNext