I think this tutorial might help you!

  1. Truthy and Falsy values

In javascript, when you write an if/else condition, you can check which value is true and which value is false.

by this example, we can understand that all positive value is true.

but negative value?


React is an open-source front-end JavaScript library .building user interfaces. It is maintained/build by Facebook. React can be used as a base in the development of single-page or mobile applications.

1.PropTypes

If a component receives the wrong type of props(properties) then It gives errors, when they don’t match.

Code example

in this code, if you use collegeName as a number instead of a string.

then it gives you a warning instead of an error for prototypes…


Expect that you appreciate this article! let’s get started!😎

JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object orientation, and first-class functions.🏅

Today I am sharing some Javascript Concepts!

let’s get started!

1. Try…Catch

As a beginner or expert programmer. when executing JavaScript code, various mistakes could happen.

At the point when a mistake happens, JavaScript code will typically pause. But if you want to run code even get an error, this article is for you…

try {
Block of code to try
}
catch(error) {
Block of code to handle errors
}

in this case, this code will…


Expectation you appreciate this article! let’s get started!😎

JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object orientation, and first-class functions.🏅

Today I am share some Javascript Precarious Concept!

let’s get started!

1. toUpperCase()

toUpperCase() is a Javascript String method. this method is returns calling value converted to toLowerCase() to toUpperCae()

YourString.toUpperCase()

Dev Shakib

MERN Stack web developer

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