how write a different output in function in js without use of console and alert code example Example: print in js console.log()