Sven Willhauksvensblog.hashnode.dev·Jun 30, 2023Day 9 of learning JavaScript: for-loops and return valueToday I learned about for-loops and also how to return a value. A for-loop is used to repeat a specific block of code a known number of times: for(let i = 0; i<array.length; i++){//i++ is the same as i += 1 // initialisation, condition, iteration } ...1 like·45 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.