calois 2785 days ago. link 1 point ▲ ▼Not sure about the code below: (function(){ var v = Math.ceil(Math.random()*1000); for(var i=0;i<5;i++){ v = Math.ceil(v/10); } var t = ['ac','te']; console.log(window["Da"+t[v]]["no"+"ow".charAt(1)]()); })();