πTECH DEBT
3 LEFT
70% cleared!Goal: Zero π―
userService.js
1async function
2 fetchUserData
3(id) {
4 const data = await fetch(
5"/api/users/"
6 + id);
7 const json = data.json();
8 if (data) {
9 return json.user.name;
10 }
11}
Scanning...
XP:+0
β‘
Total XP
2,450 XP
Level 12 β’ 2,450/3,000 XP
Your Journey to Conquer
Technical Debt with Glitchy
π Read-only access β’ Your code stays private
π
π
π
π
π
π