jquery - Javascript documentation notation -


i've seen lot , of time can figure out means, there have been times when bit confused. looking @ documentation on jquery see this:

.toggleclass( function [, state ] )

what bracket notation comma , state mean exactly?

any info awesome.

thanks!

everything between brackets [] optional.

in case means state can omitted, , function still work.


Comments