Part 2

What is the difference between double equal (==) and triple equal (===)?

Double equal (==) compares whether the two variables or values besides it, have same value or not. And triple equal check as same as the double equal and the types of those variables.

Example #1: double equal will check the values and return if it’s true or not


Describing about react.js, DOM, props etc.

What is React?

React is a library which has been used for user interfaces. People make mistake that it’s a framework. But a library is much useful when it comes to a small thing to add into the interface. If you want to add an element we’ll…


Describing some tips and tricks about code writing, ES6 and many more.

Primitive values

Primitive values are not functions or objects and they cannot be altered. That means they are immutable. These are like constants.

  • String
  • Number
  • Boolean
  • BigInt
  • Symbol
  • Undefined
  • Null

Try-Catch Function

Our Scripts can have errors due to our mistakes, unexpected…


1. String.prototype.concat()

The concat() method takes strings and concatenate them together as a new string.

const firstName = ‘Adam’;
const lastName = ‘Smith’;
console.log(firstName.concat(‘ ‘, lastName));
//expected output: Adam Smith

Suppose you have a form which takes inputs like first and last name individually but you want to put that together in…

Iffatunnessa

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store