JavaScript mendapatkan boolean acak
const randomBoolean = () => Math.random() >= 0.5;
Batman
const randomBoolean = () => Math.random() >= 0.5;
(Math.random() < 0.5)