Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

strict equality operator

/**
* Strict equality operator (===) checks if its two operands are identical.
*
* The 'if' statement below will yield to false. 
* 
* This is because the strict equality operator checks if both the data type AND the value contained are
* the same.
*/
let x = 8
let y = "8"
if (x === y) 
Comment

PREVIOUS NEXT
Code Example
Javascript :: node query selector 
Javascript :: node-fetch graphql 
Javascript :: Nodemon continuously restart 
Javascript :: http request body angular 
Javascript :: javascript extract from object and array 
Javascript :: Counting instances of values in an object 
Javascript :: js get location params 
Javascript :: use of length property 
Javascript :: mobile detect js 
Javascript :: inline style to change background color js 
Javascript :: django add csrf token to formdata 
Javascript :: how to draw circle in javascript 
Javascript :: update nested formgroup angular 
Javascript :: react native layout 
Javascript :: initialize firebase app 
Javascript :: javascript random number 
Javascript :: invisible recaptcha google 
Javascript :: how to select default searchable dropdown value in jquery 
Javascript :: Button get specific input hidden value JQuery 
Javascript :: how to do something once in javascript 
Javascript :: javascript grpc timestamp 
Javascript :: read dictionary values 
Javascript :: creating javascript class 
Javascript :: javascript pad string left 
Javascript :: vue3 header 
Javascript :: new function in javascript 
Javascript :: is date 1 day ago javascript 
Javascript :: js insert 
Javascript :: make a component update every second react 
Javascript :: chart.js on hover and onclick event 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =