javascript-dasar-browserObject

Run Settings
LanguageJavascript
Language Version
Run Command
// HANYA BISA DI RUN DARI WEB BROWSER // ================================================== const namaDepan = prompt("Nama depan anda ?"); const namaBlk = prompt("Nama belakanh anda ?"); const bahasa = prompt("Apa bahasamu sehari-hari ?"); const user = { nama: { depan: namaDepan, blk: namaBlk }, bhs: bahasa }; if(user.bhs === "english"){ alert("Nice to meet you "+ user.nama.depan + user.nama.blk ); }else if(user.bhs === "italia"){ alert("piacere di conoscerti "+ user.nama.depan + user.nama.blk ); }else if(user.bhs === "spanyol"){ alert("Encantada de conocerte "+ user.nama.depan + user.nama.blk ); }else{ alert("Seneng ketemu kowe "+ user.nama.depan + user.nama.blk ); }
Editor Settings
Theme
Key bindings
Full width
Lines