vinitshahdeo / JavaScript-Resources

Curated list of 10 resources to ace your next JavaScript interview

Home Page:https://vinitshahdeo.github.io/JavaScript-Resources/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Twitter URL

External Links

Repositories on GitHub

JavaScript Questions

Important JS Concepts

Tricky JS problems

JavaScript Dev Bookmarks

Modern JS Cheatsheet

Event loop in JavaScript

Clean code in JavaScript

Algorithms in JS

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. 🎉

Forkers repo roster for @vinitshahdeo/JavaScript-Resources

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.

"Buy Me A Coffee"