lol + ' Do you really think that you can return this without a "return"?'
};
console.log(tryThis('expected string, but undefined'));
//or
const tryThis1 = lol => ( //<---
lol + ' Do you really think that you can return this without a "return"?'
);
console.log(tryThis1('without return'));
А теперь во втором варианте убери {}
Обсуждают сегодня