Tag Archives: Multiline

Program JavaScript untuk Membuat String Multiline

Contoh 1: Buat String Multiline Menggunakan + // program to create a multiline strings // using the + operator const message = ‘This is a long messagen’ + ‘that spans across multiple linesn’ + ‘in the code.’ console.log(message); Keluaran This is a long message that spans across multiple lines in the code. Dalam contoh di […]