Created
April 15, 2021 12:52
-
-
Save wpweb101/a3cd1fbb74b2b579131f191078ddf200 to your computer and use it in GitHub Desktop.
JavaScript Indentation and Line Break
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function( $ ) { // Expression indented | |
// This doesn't get indented | |
function do_something() { | |
// Your logic | |
} | |
} )( jQuery ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment