I've seen a triple semicolon in a few expressions here and there.
Does it have any logical effect?
The Closest thing I've seen for an explanation is that it tells the Dean Edwards compressor to ignore that line.
;;; var someVar = 'Rebel';
I've seen a triple semicolon in a few expressions here and there.
Does it have any logical effect?
The Closest thing I've seen for an explanation is that it tells the Dean Edwards compressor to ignore that line.
;;; var someVar = 'Rebel';
Nothing. Absolutely nothing.
Three semicolons, ten semicolons, a hundred semicolons, they all get interpreted to the same result: nothing.
They are empty statements and have no effect. It is possible that the interpreter or compiler will remove them unless a statement is required by the syntax.
It makes people ask questions on StackOverflow.
Other than that, it does nothing.
They can be used to format silly-looking code, for example:
;; ;; ;;;;; ;; ;; ;;;;;
;; ;; ;; ;; ;; ;; ;;
;;;;;; ;;;; ;; ;; ;; ;;
;; ;; ;; ;; ;; ;; ;;
;; ;; ;;;;; ;;;;; ;;;;; ;;;;;