Tell us what’s happening:
On Step 61 the test is failing when using the nullish coealescing operator (??), but passing with logical OR (||). Surely the below code is acceptable in practice in this instance?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
const taskData = JSON.parse(localStorage.getItem("data")) ?? [];
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Safari/537.36
Challenge Information:
Build a Todo App using Local Storage - Step 61