HomeTracks
Explorer···
THEEBUG
Completed0/6
Score0
JSlesson2.js×
THEEBUGlesson2.js
1
const path = ______("path");
2
 
3
console.log(path.join("data", "users.json"));
$[system] Theebug ready. Happy coding!
Code BlocksDrag blocks into the drop zones above
4 blocks available
require
import
include
use
Game Panel
0:000 pts
Level 2 of 6require() & Built-in Modules
0/1 slots correct
Objective
Require Node's built-in path module to join two path segments safely
Expected Output
data/users.json
Debug says:
require() loads a module — either a built-in one that ships with Node itself, a file of your own, or a package from npm. Which keyword loads a module in Node's CommonJS system?
Debug the Worm