Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Node.js
0/50 solved · 0%
All lessons
lesson
code
Foundations · easy
15. Simple Path Joining
Join two paths with a single slash.
Write `join(a, b)` ensuring no double slashes.
Required in your answer:
endsWith
startsWith
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function join(a, b) { // TODO }
Output appears here.
← 14. Auth Header Builder
16. Query String Builder →