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
JavaScript
0/50 solved · 0%
All lessons
lesson
code
Strings · easy
4. Template literals
Interpolate values into strings.
Write `describe(chain, id)` returning `` `Chain Base has id 8453` `` style output using backticks.
Required in your answer:
`
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function describe(chain, id) { // TODO: use a template literal }
Output appears here.
← 3. Arrow functions
5. if / else →