Weedmaps Interview Question

determine return value from two functions that look similar

Interview Answer

Anonymous

Sep 11, 2021

one of the return values would return undefined because the return value was in a new line, therefore upon compiling, a semicolon would be added right after the return keyword yielding a value of undefined in the log