Compare commits
2 commits
61ae8489f9
...
93d9337353
Author | SHA1 | Date | |
---|---|---|---|
93d9337353 | |||
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