23rd Apr 2022, 2:28 PM
Martins Michael
Martins Michael - avatar
1 Resposta
+ 1
// Hope this code helps you window.onload=()=>{ sayHello(); sayHello('Icon Mikky'); } sayHello = (name) =>{ let n = name==null||name.trim()==''? "Hello there!" : `Hello, ${name}!`; console.log(n); };
23rd Apr 2022, 2:56 PM
SoloProg
SoloProg - avatar