Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

delete redundant parentheses #17

Closed
wants to merge 1 commit into from
Closed

Conversation

flowmemo
Copy link

@flowmemo flowmemo commented Jun 7, 2016

We actually want to pass a function to jQuery's $ .ready (https://api.jquery.com/ready/) function. But these redundant parentheses make the function expression become a IIFE(Immediately-invoked function expression) which return nothing(undefined).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants