/*example*/ function funct(){ return "just string"; } funct();
/* output: */ [Finished in 0.1s]
You need to explicitly print the return value. console.log(funct()); should work at a minimum.
console.log(funct());