Javascript Logical Operators
Learn the basics of the JavaScript Logical Operators
Sharing knowledge to make the web an amazing place.
Learn the basics of the JavaScript Logical Operators
Introduced in ES2015, Template Literals offer a new way to declare strings, but also some new interesting constructs which are already widely popular
Learn the basics to use the destructuring syntax to work with arrays and objects in JavaScript
Learn the basics of the JavaScript Spread Operator
Learn the basics of the JavaScript Ternary Operator
A variable is an assigned to an identifier, so you can reference and use it later in your program. Learn how to declare variables in JavaScript
It is important to know fundamentals to understand why Javascript does the things it does. You will know why things arenβt working, know the falsy values will help you to debug and you will become a better developer.
We are going to see how object lookups can sometimes be used as a more maintainable alternative to if and switch statements.
This is a pattern to split the values from an array into two groups based on a condition, if is truthy the corresponding element belongs to the first group, otherwise it belongs to the second group.
We are going to divide or chunk the array into many smaller arrays or subarrays where each one is of a specified length size.