snippet of Hello function

    0

    0

    RichT-PT

    The enclosed code prints the string "echo" followed by a newline then "echo " followed by the word "box" four times.

    function echo(word, n){
      let echobox = "";
      for(let i = 0; i < n; i++){
        echobox += echo[i] + " ";
    
      }console.log(echobox);
      console.log(echo);
    
    
    }
    
    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.