The code in question (had to wget from the github referenced below - I'd rather not visit the domain OP posted at work):
<!DOCTYPE html><html><head><meta charset="utf-8"></head><body><script>
const a=[];
while(true) { a.push(42); }
</script></body></html>