Hacker News new | ask | show | jobs
by DonHopkins 2315 days ago
Crockford on Bootstrap's semicolon omission: “insanely stupid code” (github.com)

https://news.ycombinator.com/item?id=3842713

https://github.com/twbs/bootstrap/issues/3057

And don't forget to semicolon-harden your most important mission-critical code:

https://www.bluejava.com/4PN/Semicolons-in-JavaScript---The-...

    ;;;;;;;;;;;; // protective wall of semicolons
    ;;var a = 10, b = 20;;
    ;;
    ;;function add(a,b)
    ;;{;;
        ;;return a + b;;;;;;;; // this function MUST work
    ;;};;
    ;;;;;;;;;;;; // protective wall of semicolons