Skip to content

Fix: Initialize removedNode in removeValue method#4

Open
CybertronianKelvin wants to merge 1 commit intogopinav:masterfrom
CybertronianKelvin:fix/initialise-removeNode
Open

Fix: Initialize removedNode in removeValue method#4
CybertronianKelvin wants to merge 1 commit intogopinav:masterfrom
CybertronianKelvin:fix/initialise-removeNode

Conversation

@CybertronianKelvin
Copy link
Copy Markdown

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 # (if applicable)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants