Which fix removes the bug?
if (status = 'ready') {
start();
}
- Change
=to=== - Change
=to=> - Wrap
statusin quotes - Declare
statuswith let
A single
Play Problem Solving ▸
= assigns and then evaluates truthy, so the branch always runs.