Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

let cars=["Lexus", "Jeep", "Audi", "BMW"];

/ Put the code here/
cars[0]= cars[2];
console.log(cars);
3 years ago
let i = 0;
do{
i += 5; // 5 is added with the current value of "i".
console.log(i); //value of "i" is printed.
}while(i<=50); //condition checks wheather the value of "i" is lesser than equal to 50, and the loop continues till the
condition is true.
3 years ago
//check it now
function doYoga(){
console.log("Moving into");
console.log("Sustaining");
console.log("Releasing");
}

console.log(typeof doYoga);
3 years ago
let str1 = `Studytonight`;
let str2 = String(str1);
console.log(str1);
console.log(str2);
3 years ago