Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

12 replies

I mean it's pretty dope that you can embed assets directly into your HolyC code.

12
lemmy.one

That code wouldn't work, the variable hack is never set.

23

Except that's how you write JavaScript embedded in html. At least that was the way when there were browsers that didn't know the script-tag.

10
kautaureply
lemmy.world

No, the variable code is set to a string of “hack”

The code will work, but will just run the course of the else path and replace all the HTML with bold text that says “Unknown Reso

And whatever else that cut off string contains

7

You are right. I honestly stopped reading halfway through, just assumed they were all else if's

1
settolokireply
lemmy.one

var code is set to hack. Though the code would run didn't notice the lace condition is an else not an else if

1
lemm.ee

I love me some sans serif hacking.

6

You reached the end

document.write("<b>Hacked!!!</b>") | Spyke