I don't need a return value from the related function, which method is faster on the system run: end the function with return without value or do not use return anywhere?
Using return without any value:
function saveData(save){
save(newData);
return; //return without any value
}
Not using return anywhere:
function saveData(save){
save(newData);
//There is no return anywhere
}
although there is no specific speed difference, this info will be useful in large-scale use.