HTML & CSS book
Photo by Greg Rakozy on Unsplash

GitHub is always an amazing place when you try to acquire knowledge, GitHub has become a treasure in terms of online development contributions and continuous integration.

In this article I am sharing 5 usefull GitHub repositories that every JavaScript developer should know.

exciting??

1. List of Free Learning Resources:

πŸ“š Freely available programming books. This repository contains freely available resources for programming.

The Free Ebook Foundation now administers the repo, a not-for-profit organization devoted to promoting the creation, distribution, archiving, and sustainability of free ebooks. Donations to the Free Ebook Foundation are tax-deductible in the US.

2. JavaScript Algorithms and Data Structures:

Dark Mode

javascript-algorithms (this link opens in a new window) by trekhleb (this link opens in a new window)

πŸ“ Algorithms and data structures implemented in JavaScript with explanations and links to further readings

πŸ“ Algorithms and data structures implemented in JavaScript with explanations and links to further readings.

This repository contains JavaScript based examples of many popular algorithms and data structures.

Each algorithm and data structure has its own separate README with related explanations and links for further reading (including ones to YouTube videos).

3. List of (Advanced) JavaScript Questions:

Dark Mode

javascript-questions (this link opens in a new window) by lydiahallie (this link opens in a new window)

A long list of (advanced) JavaScript questions, and their explanations :sparkles:

A long list of (advanced) JavaScript questions, and their explanations βœ¨

Example:

1. What’s the output?

function sayHi() {
  console.log(name);
  console.log(age);
  var name = 'Lydia';
  let age = 21;
}

sayHi();
  • A: Lydia and undefined
  • B: Lydia and ReferenceError
  • C: ReferenceError and 21
  • D: undefined and ReferenceError

Answer: D

Within the function, we first declare the name variable with the var keyword. This means that the variable gets hoisted (memory space is set up during the creation phase) with the default value of undefined, until we actually get to the line where we define the variable. We haven’t defined the variable yet on the line where we try to log the name variable, so it still holds the value of undefined.

Variables with the let keyword (and const) are hoisted, but unlike var, don’t get initialized. They are not accessible before the line we declare (initialize) them. This is called the “temporal dead zone”. When we try to access the variables before they are declared, JavaScript throws a ReferenceError.

4. Awesome:

Dark Mode

😎 Awesome lists about all kinds of interesting topics, it curates all topics from software development to hardware to business.

5. Clean Code in JavaScript:

πŸ›Β Clean Code concepts adapted for JavaScript.

Like This Article? Subscribe to our newsletter! To receive more cool stuff and other important updates from us ❀️

Conclusion:

GitHub can be amazing place to learn, contribute and showcase your code, ideas and innovation. There are tonnes of repositories present on GitHub that needs to be explored. The above 5 Reposities are just the beginning…

Note: Views are expressed only from author, and not from official GitHub, for more detailed view about undertaking read πŸ‘‰ Our Mission