Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 730 Bytes

SampleJS.md

File metadata and controls

36 lines (29 loc) · 730 Bytes

Sample JS format

Here is an explanation for how a general JS file should look like in this repo.

  • Better Format
  • Better Readability
  • Better Learning
/* <TOPIC HEADING>
* <Explanations..............>
* <Explanations..............>
*
* Note: <Add required info about code>
*
* Resources:
* - <Resource link 1>
* - <Resource link 2>
*/

// Comment to explain function
function <Name> {
}

// Comment to explain function
function <Name> {
}

/*
* <Any additional Information needed>
*/

File references: