swati-jagtap / javascript-practice

0 stars 0 forks source link

13.2.1 to 13.2.3 #150

Open swati-jagtap opened 3 years ago

swati-jagtap commented 3 years ago
//13.2.1--  10 > 2 * 10 use console.assert()
console.assert(10 > 2 * 10,"10 is not greater then 2*10");
//13.2.2--  Write a warning message using console.warn()
console.warn("Stay Home Stay Safe");
//13.2.3--  Write an error message using console.error()
console.error("Stay Home Stay Safe");

image