iterate through the properties

    0

    0

    Konrad Psiuk

    The for loop runs through each property in the object, logging each name to the console.

    for(let propertyName in <object goes here>){
            console.log(propertyName);
          };
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.