What will this code output to the log?
var thing;
let func = (str = 'no arg') => {
console.log(str);
};
func(thing);
func(null);
What will this code output to the log?
var thing;
let func = (str = 'no arg') => {
console.log(str);
};
func(thing);
func(null);