JavaScript-Data-Structures-Tutorial
JavaScript-Data-Structures-Tutorial copied to clipboard
Fix: Initialize removedNode in removeValue method
Description
This PR fixes an issue where the variable removedNode was not declared in the removeValue method of linked-list.js. Declaring the variable ensures proper scoping and prevents potential runtime errors.
Related Issue
Fixes #
Type of Change
- [x] Bug fix (non-breaking change which fixes an issue)