Week3_Wednesday

时间:2021-05-06 03:00:26
【文件属性】:
文件名称:Week3_Wednesday
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-06 03:00:26
JavaScript 9月30日,星期三 ##查看 更多功能 ### Declaration Notation在声明符号中, function关键字用于启动语句。 在下面的示例中,该语句定义了变量square并将其指向给定的函数。 function square ( x ) { return x * x ; } ###控制流 console . log ( "The future says:" , future ( ) ) ; function future ( ) { return "We STILL have no flying cars." ; } // "The future says: We STILL have no flying cars." 即使在使用位置的下面定义了future(),该代码仍然可以使用。 函数声明不是常规的自上而下控制流的一部分。 而是,它们在概念上移至其作用域的
【文件预览】:
Week3_Wednesday-master
----main.js(3KB)
----README.md(1KB)
----index.html(353B)

网友评论