Function changes variables which arent even accessed from inside the function

前端 未结 0 417
感情败类
感情败类 2020-12-12 20:45

This is an example of my actual code

const history = [1, 2, 3]

console.log(crypto.createHash(\'sha1\').update(JSON.stringify(history)).digest(\'hex\'))
var d         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题