Commit bc114476 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 72bdadbd
...@@ -18,9 +18,9 @@ async function init() { ...@@ -18,9 +18,9 @@ async function init() {
com = await fs.readFileSync('t.json', 'utf8'); com = await fs.readFileSync('t.json', 'utf8');
let bad = await fs.readFileSync('bad.txt', 'utf8'); let bad = await fs.readFileSync('bad.txt', 'utf8');
bad=JSON.parse(bad) bad=JSON.parse(bad)
console.log(base)
base=parseFloat(bad.bad)
base=parseFloat(bad.bad)
console.log(bad)
com = JSON.parse(com) com = JSON.parse(com)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment