Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javaScipt diference != and !==

/*
   != accept 1 as equals of true, 0 as equals of false and some others
   (because the values are automatically casted when being compared).
   !== accept only "real" equalities (i.e. compares both the value and the type)
*/
alert(1 != true); //this is false
alert(1 !== true); //this is true
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript mvc patetern 
Javascript :: javascript zoom to meters 
Javascript :: how to extract java script elemet 
Javascript :: liquid - array item accessing 
Javascript :: jqgrid set filter programmatically 
Javascript :: how to disable spaces and tabs for a input:text 
Javascript :: Utils is not a constructor MuiPickersUtilsProvider 
Javascript :: modulo operator multiples, alternate values 
Javascript :: print map object nodejs 
Javascript :: vue directive parameter 
Javascript :: 4.1. Values and Data Types¶ 
Javascript :: open menu 
Javascript :: composite key knex 
Javascript :: how to pass data in router link react-typescript 
Javascript :: moment format escape 
Javascript :: hello-world.js 
Javascript :: path.split is not a function inputRef useForm 
Javascript :: how to push object in array in angular from an api 
Javascript :: how to replace all words in javascript in hindi 
Javascript :: pipefy deleteCard 
Javascript :: node red using tcp request 
Javascript :: mongoose ensureindex 
Javascript :: navigate to another page on vue js button 
Javascript :: js create element with attributes 
Javascript :: express serve node module 
Javascript :: put text inside an object javascript 
Javascript :: addingbackground image in nodejs 
Javascript :: modal nodejs 
Javascript :: For Anweisung 
Javascript :: read data from store i ngrxstore 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =