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) => {
|
function update(x) {
|
||||||
if (err) throw err;
|
word += x
|
||||||
console.log(data.toString());
|
document.getElementById("message").innerHTML = word;
|
||||||
});
|
}
|
Loading…
Reference in a new issue