FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

vinitshahdeo/JavaScript-Resources: Curated list of 10 resources to ace your next JavaScript interview · GitHub

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Resources

Here's a curated list of 10 resources to ace your next JavaScript interview. For learning, javascript.info is highly recommended. If you have encountered any coding problems in the JS interview, please raise a PR to add your solution to examples/ folder. Please refer to the contributing section to learn more.

For any queries, feel free to reach out to me — topmate.io/vinitshahdeo or Twitter.

External Links

Repositories on GitHub

Contributing

  1. Clone the repository and create a new branch.
git clone https://github.com/vinitshahdeo/inspirational-quotes.git
git checkout -b feature/<problem-name>
  1. Head to examples folder
cd examples
touch yourFileName.js
  1. Add your code to yourFileName.js
    • Ensure that the problem statement is added as a comment in the top of the file.
    • Add proper comments (JSDocs) wherever needed.
    • Below is a sample code snippet
/**
 *
 * Flatten the given array
 * Input: [1,2,[3,4,[5,6]],7,8,[9,10]]
 * Output: [1,2,3,4,5,6,7,8,9,10]
 *
 */
const flattenArray = (arr) => {
  let flattenedArray = [];
  arr.forEach((item) => {
    if (Array.isArray(item))
        flattenedArray.push(...flattenArray(item));
    else 
        flattenedArray.push(item);
  });
  return flattenedArray;
};

console.log(flattenArray([1, 2, [3, 4, [5, 6, 7]], 8]));
  1. Please raise a pull request to add your code-snippet.
    • Provide proper PR title and description.
    • Sit and relax! You've made your contribution. 🎉

Thank you

Initially I have curated these resources for my mentees, but it's now a community-led initiative to gather best resources to ace any JS interview. If you like it, kindly consider leaving a star or buying me a coffee! Tweet to spread a word.

About

Curated list of 10 resources to ace your next JavaScript interview

Topics

Resources

Stars

60 stars

Watchers

1 watching

Forks

Sponsor this project

Contributors


Back | FazBrowse Home | New Git URL