The for...in loop is used to iterate through the keys of an object. Syntax of JavaScript for…in Loop for (key in object) { // body…