hello
This commit is contained in:
부모
a49e0a71fb
커밋
46ad4d3bca
1개의 변경된 파일과 6개의 추가작업 그리고 5개의 파일을 삭제
11
script.js
11
script.js
|
|
@ -1,6 +1,7 @@
|
|||
const fs = require("fs");
|
||||
const reponse = "train";
|
||||
var word ="";
|
||||
|
||||
fs.readFile("word_bank.txt", (err, data) => {
|
||||
if (err) throw err;
|
||||
console.log(data.toString());
|
||||
});
|
||||
function update(x) {
|
||||
word += x
|
||||
document.getElementById("message").innerHTML = word;
|
||||
}
|
||||
불러오는 중…
Reference in a new issue