• This project
    • Loading...
  • Sign in

민재기 / web_service

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • web_service
  • js
  • ex10_5.js
  • 민재기's avatar
    all file · d6c11883
    d6c11883
    민재기 authored 2017-05-16 12:05:30 +0900
ex10_5.js 298 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
"use strict"

function gugu(x){
  var dan = x;
  var i;
  var text="";

  for (i = 1 ; i < 10 ; i++){
    text = text + x + " * " + i + " = " + dan *i + "<br>";
  }

  document.getElementById("demo").innerHTML = text;
}

function deletePrint (){
  document.getElementById("demo").innerHTML = "";
}