I have been looking at some JavaScript libraries and I came across one library that began like this:
; (function(){
//library code
})()
Why is there a ;
before the anonymous function? There was no code before this.
I have been looking at some JavaScript libraries and I came across one library that began like this:
; (function(){
//library code
})()
Why is there a ;
before the anonymous function? There was no code before this.