X-Ray
  • Blogs
  • Daily
  • Notes
  • Interview Question
  • Github
  • Resume
X-Ray

  • Blogs
  • Daily
  • Notes
  • Interview Question
  • Github
  • Resume

Const 2020-3-27

# 输出是什么

const randomValue = 21;

function getInfo() {
  console.log(typeof randomValue);
  const randomValue = "Lydia Hallie";
}

getInfo();

# 参考

  • const (opens new window)
  • 暂存死区 (opens new window)

输出是什么
参考