Reading some third party code, a self invoking function starts with !function. What is the meaning of the exclamation mark in this context?
!function(){ // not assigned to variable or returned //code here }() Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalReading some third party code, a self invoking function starts with !function. What is the meaning of the exclamation mark in this context?
!function(){ // not assigned to variable or returned //code here }()
!) on the result of the self invoking function.voidis the statement of choice.)