Edit in JSFiddle

var isCool = Boolean(1);

var joe = isCool;

document.getElementById("output").innerHTML = joe.toSource();
<div id="output"></div>