Is javascript hard to understand?
by Harm Zeinstra
HTML
Is Javascript hard to understand?
<p id=answer></p> = <p id=code></p>
JavaScript
document.getElementById('answer').innerText =
([] + [] + (true / (NaN === NaN))).split([] + []).reverse()[false + true - 1] + (typeof(null)).split({}/{})[(NaN == NaN)*null][true+Object.keys({'':''}).length+true+null] + String.fromCharCode(([]+ +[] / {})[(null == undefined) + false].charCodeAt(0) + (true * 38 % 20));
document.getElementById('code').innerText =
` ([] + [] + (true / (NaN === NaN))).split([] + []).reverse()[false + true - 1] + (typeof(null)).split({}/{})[(NaN == NaN)*null][true+Object.keys({'':''}).length+true+null] + String.fromCharCode(([]+ +[] / {})[(null == undefined) + false].charCodeAt(0) + (true * 38 % 20))
`;