-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassignment23.js
31 lines (31 loc) · 1.16 KB
/
assignment23.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"use strict";
let car = "Subaru";
console.log("Is car === 'Subaru' ?| I predict : true");
console.log(car == "Subaru");
console.log("Is car == 'honda' ?| I predict : false");
console.log(car == "honda");
let numeric = 89;
console.log(" Is numeric === 89 | I predict: true");
console.log(numeric == 89);
console.log("Is numeric === 57 | I predict: False");
console.log(numeric == 57);
let fruit = "orange";
console.log("Is fruit === 'banana' | I predict : false ");
console.log(fruit == "banana");
console.log("Is fruit === 'orange' | I predict : true ");
console.log(fruit == "orange");
let bike = " Kawasaki";
console.log("Is bike == 'Kawasaki' ? | I predict : true ");
console.log(bike == "Kawasaki");
console.log(" Is bike === 'Hayabusa' ? | I predict : false ");
console.log(bike == "Hayabusa");
let house = " flat";
console.log("Is house == 'flat' | I predict true");
console.log(house == "flat");
console.log(" Is house == 'banglow' | I predict false");
console.log(house == "banglow");
let food = "Biryani";
console.log(" Is food == 'Biryani' | I predict true");
console.log(food == "Biryani");
console.log(" Is food =='Karhai' | I predict false ");
console.log(food == "Karhai");