Skip to content Skip to sidebar Skip to footer
Showing posts with the label Operators

Javascript Question Mark & Double Pipes

I am new to javascript and so far it is my understanding that: ? & : is used for 'if true, … Read more Javascript Question Mark & Double Pipes

How Does The Spread Syntax In Es6 Js Work As A Function Argument?

OK, so I'm trying to understand how the new spread works as a function parameter. Imagine a fun… Read more How Does The Spread Syntax In Es6 Js Work As A Function Argument?

Javascript Equal Operations Anomalies

I'm working on a lecture about hard to understand JavaScript code and of course on of the weak … Read more Javascript Equal Operations Anomalies

What Is The Name Of "===" Operator In Javascript

I was wondering if there is widely recognized name for === operator. Something like 'IIFE' … Read more What Is The Name Of "===" Operator In Javascript

Understanding The Javascript Comma Operator

This article by Angus Croll explains the JavaScript comma operator like this: //(LHE: left hand exp… Read more Understanding The Javascript Comma Operator

Can You Shorten An 'if' Statement Where A Certain Variable Could Be Multiple Things

Since I sometimes needs an if-statement like if (variable == 'one' || variable == 'two&… Read more Can You Shorten An 'if' Statement Where A Certain Variable Could Be Multiple Things