for of loop javacsript code example Example: javascript for of const numbers = [1,2,3,4]; for(const item of numbers){ console.log(item); }