The shortest way to a random boolean

Code golf, 140byt.es style

by lavisha99

JavaScript

var randomBoolean = 
    function(){
        return Math.random()< 0.5    }; 
console.log(randomBoolean);