Declare a variable with any number(negative/positive) without ZERO(0), Declare a variable with any string even white space, Declare a variable with an empty array or empty object then JavaScript think it true


Declare a variable with null, empty string, 0 or declare a variable without any value or…

try … catch

try and catch is a saved your crushed program, while you use this try and catch, you’re sure your program isn’t crushed, but while it was crushed don’t worry, it’s working with your crushing code.

for example, there’s a syntax construct try…catch that allows us to “catch” errors so the…


Here is that Virtual DOM Example

Virtual DOM Compare New Changes Browser DOM, While Compare, is Done Virtual DOM Check Where Are Changes. Then Virtual Dom And Browser DOM Check Equal Equal. And Set always New Changes Browser DOM. Virtual DOM Representation of the real DOM. When state changes occur, the virtual DOM is updated and…

Introduction: JavaScript is a multi-paradigm, dynamic language with types and operators, standard built-in objects, and methods. many structures from those languages apply to JavaScript as well. JavaScript supports object-oriented programming with object prototypes, instead of classes. JavaScript also supports functional programming — because they are objects, functions may be stored…

Minhaj Sadik

Little Programmer, Clever Learnerz>

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