Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 294 Bytes

File metadata and controls

19 lines (13 loc) · 294 Bytes

definition

        The for in loop is used to loop through an object propertires.

example

    var mobile = {
    color: "red",
    company: "apple",
    };

    for (var i in fruit) {
    console.log(mobile[i]);
    }

output

    red
    apple