Critical Thinking - Bug Bounty Podcast cover image

Episode 26: Client-side Quirks & Browser Hacks

Critical Thinking - Bug Bounty Podcast

00:00

How to Use an HTML Comment in JavaScript

The first example will only work if it's the first JavaScript statement. If it appears elsewhere, a syntax error will be raised. So I thought that one was a little bit interesting. It looks like a standard character but it's actually a Unicode character. On Mac, it's like if you do option that it's like the long, like the long dash,. Like, sometimes it gets auto corrected. But yeah, that's super, super interesting. Again, I wonder if this is like backwards compatibility type stuff where the two dash is it's like equivalent to the EN dash and then yeah. Nice.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app