- Check below logical operators
var a = false && 'Cat'; false
var b = 'Cat' && 'Dog'; dog
var c = 'Cat' || 'Dog'; cat
var d = !true; false
var e = !false; false
what are a,b,c,d,e values ? - var a ? 'srinivas' : 'welcome' //Ternary/Conditional operator
what is a value why this answer? - var a=(12,13,14,15);
what is a value ? - What is spred operator ?
- What Multi-line string, Placeholders for variables?
- Var x,y,z=1; what is x,y,z values ?
- Var x, var y=null x==y ? true or false?
- What is console.trace(), console.dir();?
- What is a constructor?
10 Give me an example of prototype inheritance?