himanshugopalkdwivedi.hashnode.devยทMar 9, 2024(lt.32)Unraveling JavaScript Loops: Master the Art of Iteration for Efficient Coding!If else : In js the else part doesn't take any condition but there will be no error if you put condition in else part, but it can result to uneven results: // let a= prompt("u r age : ") // to enter a value // console.log(typeof a) // used ...10 likeswhile loop javasciptAdd a thoughtful commentNo comments yetBe the first to start the conversation.