Quiz Kondisi Beranda › Forums › Belajar Menjadi Full Stack Web Developer Tingkat Pemula › Quiz Kondisi Tagged: If else This topic has 1 reply, 2 voices, and was last updated 3 years, 6 months ago by Coach Vincent. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 2, 2023 at 11:18 PM #191051 samuel.naiborhu2408Participant var value; if(value){ console.log(value); }else { console.log("tests"); } jika value = null Saya ingin bertanya terkait output dari codingan ini kenapa test ya? apakah di setiap kondisi if harus didefinisikan dengan =,<,> agar nilainya bukan test? Terima kasih April 28, 2023 at 11:27 AM #194870 Coach VincentModerator Krn null memiliki nilai falsy atau pasti false terima kasih Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Login with your Social ID Log In