Commit 72bdadbd authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 6a4ae7da
1 {"bad":1}
\ No newline at end of file \ No newline at end of file
...@@ -39,7 +39,7 @@ let _ = require('lodash') ...@@ -39,7 +39,7 @@ let _ = require('lodash')
// console.log(p) // console.log(p)
let t={apiKey:'',secret:''} let t={bad:1}
console.log(JSON.stringify(t)) console.log(JSON.stringify(t))
......
...@@ -18,8 +18,9 @@ async function init() { ...@@ -18,8 +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)
base=parseFloat(bad.bad)
console.log(base) console.log(base)
base=parseFloat(bad.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