Are let and const hoisted?
In this post, I will be talking about hoisting, temporal dead zone, and how hoisting works with let and const. What is hoisting? The JavaScript engine before parses the code before executing and during the parsing phase it shifts all the variable [..]
Setting up Detox Tests in a React Native App
Detox is an end to end testing library for your react native app that enables you to emulate user behavior and test how your app reacts to it, automatically. In this blog post, I will be going over setting up Detox from scratch in a React Native pr[..]
Getting Started With ES6 Modules
A Module is simply a javascript file with a bunch of variables or functions which can be imported and used in other javascript files. With ES6, working with modules has become fun. Let me tell you how. Before ES6 Modules, we used to have script tag[..]
Template Literals in Javascript
There are two ways to write strings in javascript - single quotes and double quotes. With ES6, we have another way to write strings using backticks (``). This is called Template literal. Let's dive into details! String Interpolation Before ES6, if[..]
Arrow functions in Javascript Part II
Hello, Everyone! In my last post, I wrote about how to write Arrow functions. Today, I am going to talk about how arrow functions do not change the value of this. Let's start with an example and see, what I am talking about. I want to change the ba[..]