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
Array methods · easy
14. find & includes
Search a list.
Write `byHash(txs, hash)` returning the matching tx or `undefined`.
Required in your answer:
.find(
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function byHash(txs, hash) { // TODO find }
Output appears here.
← 13. Array.reduce
15. String methods →