4 ms·
or var response = Math.random() < 0.5 ? "NO" : "YES";
by gb 17y ago
or
var response = Math.random() < 0.5 ? "NO" : "YES";
- tfe 17y agoImplemented, thanks.
- thaumaturgy 17y agoNice! Or: google.setOnLoadCallback(function() { window.setTimeout(function() { jQuery('#answer').html(Math.random() < 0.5 ? "NO" : "YES"); }, 2000); });