题库 软件开发 题目列表 下列程序的运行结果是什么?// module.jsexport defau...
单选题
下列程序的运行结果是什么?
// module.js
export default () => "Hello world"
export const name = "nowcoder"
// index.js
import * as data from "./module"
console.log(data)
A.

{default: function default(), name: ‘nowcoder’}

B.

{default: function default()}

C.

{default: ‘hello world’, name: ‘nowcoder’}

D.

Global object of module.js

题目信息
校招真题
-
正确率
0
评论
13
点击