Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Most URLs are syntactically valid JavaScript code (mand.is)
1 point by hrldcpr on June 16, 2021 | hide | past | favorite | 1 comment


tl;dr from the article:

    The http(s): gets interpreted as a label
    The // immediately following the label starts a comment




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: