单选题
在 文 件 /home/somebody/workspace/somemodule.js 中 第 一 行 引 用 了 一 个 模 块 :
在 文 件 /home/somebody/workspace/somemodule.js 中 第 一 行 引 用 了 一 个 模 块 :
require(‘othermodule‘),请问 required 的查找模块的顺序
A./home/somebody/workspace/mode_modules/othermodule/index.js
B./home/somebody/workspace/mode_modules/othermodule. Js
C.CORE MODULES named othermodule D./home/somebody/mode_modules/othermodule/index.js
A
CDAB
B
CBDA
C
CBAD
D
CDBA
答案解析
正确答案:C
题目纠错
