关于javascript:选择篇038下面代码的输出是什么

32次阅读

共计 207 个字符,预计需要花费 1 分钟才能阅读完成。

const foo = () => console.log('First')
const bar = () => setTimeout(() => console.log('Second'))
const baz = () => console.log('Third')

bar()
foo()
baz()
  • A: First Second Third
  • B: First Third Second
  • C: Second First Third
  • D: Second Third First

参考答案

正文完
 0