β
How I cracked My first interview with this Book.
π Book:
Cracking the Coding Interview (Indian Edition).
βοΈ Most Review:
The book is really great for the students who are preparing for their interview with good companies. It will be a great start to find the path to start the preparation.
π Buy - https://amzn.to/3H4F1bB
π Book:
Cracking the Coding Interview (Indian Edition).
βοΈ Most Review:
The book is really great for the students who are preparing for their interview with good companies. It will be a great start to find the path to start the preparation.
π Buy - https://amzn.to/3H4F1bB
Top 7 useful JavaScript concepts that every developer should know
1. classList
It's a JavaScript property to work with classes in HTML, rather than using setAttribute to class it decreases code readability, in clssList, we have different properties like, a) add, b) remove, c) toggle d) contains and many more. classList is an easy an efficient way to work with classes for html elements.
2. insertAddacentHTML
This is JS DOM property, which is used to insert HTML in a HTML page via JavaScript, rather creating elements with .createEelement(), it makes the flow easy and efficient to work with creating HTML elements.
3. IIFE - Immediately invoked function expression
As the name suggests, IIFE functions are invoked (called) immediately as soon as they are defined. These functions are helpful when you want to invoke a function without any condition. IIFE function follows Block-scope scoping, so variables declared in the function can not be used outside of the function.
4. Optional chaining [?.]
Optional chaining is a safe way to access properties of a nested object or call a function. If the object or called function is null or undefined, it will always return undefined instead of throwing an error.
5. Logical AND [&&]
It's boolean operator which returns true only if both conditions are true, else it will return false. This operator can also be used when you want to perform a operation, based on only if the condition is either true or false. It saves storage space and increases code readability.
6. Condtional (ternary) operator [?:]
This operator is used when you want to overcome the use of so many if-else statement in your code. It's followed by 3 operands:
(condition) ? true : false
7. Plus (+)
By adding as prefix for any string number will change the datatype to number
Join @Web_developerszz for more
1. classList
It's a JavaScript property to work with classes in HTML, rather than using setAttribute to class it decreases code readability, in clssList, we have different properties like, a) add, b) remove, c) toggle d) contains and many more. classList is an easy an efficient way to work with classes for html elements.
2. insertAddacentHTML
This is JS DOM property, which is used to insert HTML in a HTML page via JavaScript, rather creating elements with .createEelement(), it makes the flow easy and efficient to work with creating HTML elements.
3. IIFE - Immediately invoked function expression
As the name suggests, IIFE functions are invoked (called) immediately as soon as they are defined. These functions are helpful when you want to invoke a function without any condition. IIFE function follows Block-scope scoping, so variables declared in the function can not be used outside of the function.
4. Optional chaining [?.]
Optional chaining is a safe way to access properties of a nested object or call a function. If the object or called function is null or undefined, it will always return undefined instead of throwing an error.
5. Logical AND [&&]
It's boolean operator which returns true only if both conditions are true, else it will return false. This operator can also be used when you want to perform a operation, based on only if the condition is either true or false. It saves storage space and increases code readability.
6. Condtional (ternary) operator [?:]
This operator is used when you want to overcome the use of so many if-else statement in your code. It's followed by 3 operands:
(condition) ? true : false
7. Plus (+)
By adding as prefix for any string number will change the datatype to number
Join @Web_developerszz for more
β
Topic : What is Map in JavaScript ?
"new Map()" - is a built-in object in JavaScript that represents a collection of key-value pairs. It was introduced in ECMAScript 6 and is similar to an object, but with some important differences.
One of the main differences between a Map object and a regular JavaScript object is that the keys in a Map object can be any type of value, including objects and functions, while the keys in an object must be strings or symbols.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
#Map #JavaScript
"new Map()" - is a built-in object in JavaScript that represents a collection of key-value pairs. It was introduced in ECMAScript 6 and is similar to an object, but with some important differences.
One of the main differences between a Map object and a regular JavaScript object is that the keys in a Map object can be any type of value, including objects and functions, while the keys in an object must be strings or symbols.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
#Map #JavaScript
"Believe in yourself and all that you are. Know that there is something inside you that is greater than any obstacle."
- Happy Saturdayπ©βπ»π§βπ».
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
- Happy Saturdayπ©βπ»π§βπ».
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
β
Do you know what is open-source?
β«οΈOpen-source is the source code of a particular project which is open for all to collaborate, contribute and learn from.
β«οΈOpen-source is one of the best ways to network with world wide Developers and build a strong community.
It's never too late to get started. Start Today!
#opensource
π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
β«οΈOpen-source is the source code of a particular project which is open for all to collaborate, contribute and learn from.
β«οΈOpen-source is one of the best ways to network with world wide Developers and build a strong community.
It's never too late to get started. Start Today!
#opensource
π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
β
Did you hear about JavaScript's Object.seal() method?
β«οΈObject.seal() is a powerful JavaScript feature that allows you to seal an object, preventing the addition or deletion of properties but still allowing property values to be changed.
β«οΈSealing an object can be a great way to protect critical data and maintain data integrity in your applications.
Get familiar with Object.seal() today and enhance your JavaScript skills! πͺ
#JavaScriptTips
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
β«οΈObject.seal() is a powerful JavaScript feature that allows you to seal an object, preventing the addition or deletion of properties but still allowing property values to be changed.
β«οΈSealing an object can be a great way to protect critical data and maintain data integrity in your applications.
Get familiar with Object.seal() today and enhance your JavaScript skills! πͺ
#JavaScriptTips
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
.
β
Javascript Reduce method Example.
β«οΈ Finding the longest word in a given string.
#JavaScript #Reduce
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β«οΈ Finding the longest word in a given string.
function longerWord(a, b) {
if (a.length > b.length) {
return a;
} else {
return b;
}
}
const sentence = 'Hey there what are you doing this Wednesday night';
const longest = sentence.split(' ').reduce(longerWord);
console.log(longest);
// Wednesday
#JavaScript #Reduce
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β
Quiz Time - Immediately Invoked Function Expression.
π¬ Comment your answer!!!
#JavaScript #IIFE #Quiz
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
π¬ Comment your answer!!!
#JavaScript #IIFE #Quiz
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β
Need a roadmap for your developer journey? find it here
π https://roadmap.sh
Here are 2 of the popular ones:
Front End:
π https://roadmap.sh/frontend
Back End:
π https://roadmap.sh/backend
Let us know if you found the resources useful and also if you know about resources that can be helpful for others.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
π https://roadmap.sh
Here are 2 of the popular ones:
Front End:
π https://roadmap.sh/frontend
Back End:
π https://roadmap.sh/backend
Let us know if you found the resources useful and also if you know about resources that can be helpful for others.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β
Want to write Industry level Javascript? Check out this free e-book from Simon Hoiberg.
β This e-book goes in-depth with the best practices of writing not just core JS but also React and other topics as well.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β This e-book goes in-depth with the best practices of writing not just core JS but also React and other topics as well.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β
Need books for your programming language? or maybe framework? Get a free e-book for pretty much any framework or programming language commonly used here. These books and the content is curated by some of the best professionals and lovely people at Stack Overflow.
π Link : https://goalkicker.com/
Here are some of our best picks :
π HTML: https://goalkicker.com/HTML5Book/HTML5NotesForProfessionals.pdf
π CSS: https://goalkicker.com/CSSBook/CSSNotesForProfessionals.pdf
π JavaScript: https://goalkicker.com/JavaScriptBook/JavaScriptNotesForProfessionals.pdf
π React JS: https://goalkicker.com/ReactJSBook/ReactJSNotesForProfessionals.pdf
π React Native: https://goalkicker.com/ReactNativeBook/ReactNativeNotesForProfessionals.pdf
π Algorithms: https://goalkicker.com/AlgorithmsBook/AlgorithmsNotesForProfessionals.pdf
And More... Check out the provided link for more free e-books.
π Link : https://goalkicker.com/
Here are some of our best picks :
π HTML: https://goalkicker.com/HTML5Book/HTML5NotesForProfessionals.pdf
π CSS: https://goalkicker.com/CSSBook/CSSNotesForProfessionals.pdf
π JavaScript: https://goalkicker.com/JavaScriptBook/JavaScriptNotesForProfessionals.pdf
π React JS: https://goalkicker.com/ReactJSBook/ReactJSNotesForProfessionals.pdf
π React Native: https://goalkicker.com/ReactNativeBook/ReactNativeNotesForProfessionals.pdf
π Algorithms: https://goalkicker.com/AlgorithmsBook/AlgorithmsNotesForProfessionals.pdf
And More... Check out the provided link for more free e-books.
β
Need documentation for a library, language or framework? Don't worry we got you covered meet a new way of documentation tool that collects and shows documentation all in one place for all the tools you use in your daily life.
π§βπ» Meet Dev Docs : https://devdocs.io π
Free documentation PWA & Online platform for developers to check documentation for their tools for free all in one place.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
π§βπ» Meet Dev Docs : https://devdocs.io π
Free documentation PWA & Online platform for developers to check documentation for their tools for free all in one place.
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β Merry Christmas β
From all the admin team of Web Developers Group we wish you all Merry Christmas ππ
Hope Santa Claus brings many happy moments many blessings your way and you always achieve something big in your life. π€
Regards,
Web Developer'sTeam β
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
From all the admin team of Web Developers Group we wish you all Merry Christmas ππ
Hope Santa Claus brings many happy moments many blessings your way and you always achieve something big in your life. π€
Regards,
Web Developer'sTeam β
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
π Looking for best DevOps resources? Here is a collection of resources for DevOps learners!
π Link: https://github.com/bregman-arie/devops-resources
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
π Link: https://github.com/bregman-arie/devops-resources
(π₯) β’ @Web_developersz
(π) β’ @Web_developerszz
β
Challenge.
function outerFunction() {
var outerVar = 20;
function innerFunction() {
return outerVar;
}
return innerFunction;
}
var closureExample = outerFunction();
console.log(closureExample());