hello
This commit is contained in:
parent
a49e0a71fb
commit
46ad4d3bca
1 changed files with 6 additions and 5 deletions
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;
|
||||
}
|
Loading…
Reference in a new issue