tenth day for full stack development -->> Javascript: variable type, Comparision operator, Take input by alert, Logical operator, switch statement, convert string to int, array and it's method.
// tell the variable type. type of ("var"); ==(double equal) check for equality of value, but not equality of type. It coerces both values to the same type and then compares them. this can lead to some unexpected results! ===(triple equal) strictly equal, check for equality of value, and also equality of type. prompt to take the input from the user by the alert tab.\ prompt("enter the input") //return the string. Logical operator. && (and operator)--> truth && truth --->> output true else it will be false || (or operator) false|| truth---> Output true (any of condition is true then true) false||false --> output false (both condition should be false ) Switch Condition //define the function. function week ( day ) { //use of and operator if ( 0 < day && day <= 7 ) { switch ( day ) { case 1 : ...