hello I just want to print the string five time but its not working
let joseFullName = "Jose Albert";
for (var i = 0; joseFullName < 5; i++) {
console.log(joseFullName);
}
hello I just want to print the string five time but its not working
let joseFullName = "Jose Albert";
for (var i = 0; joseFullName < 5; i++) {
console.log(joseFullName);
}
it should be i < 5 not joseFullName < 5
thanks alot very handy