"==" will not check for type but when we use "===" it will check for type also and returns true when type of variables on both sides is same.
Example:
if(3=="3") will return true;
if(3 ==="3") will return false;
Subscribe to:
Post Comments (Atom)
Call a function in child component from parent component in React
Consider the following parent component class Parent extends React.Component { constructor(props) { super(props); thi...
-
Open visual studio developer command prompt. Start your service and make sure it is up and running. Copy the URL of service . In visual...
-
The process of replacing a module with generic and mostly empty object, called a mock. Advantages: Isolates our code from its dependen...
No comments:
Post a Comment