# assign ,equal, type of equal var x = 'cat' //assign a value to x var x == y // x equal to y var x === y // x equal to y and type of x and type of y are same if var x = 'cat' // type of x is string then var y = 'dog' // type of y is also string x === y