Should the removeAt() function remove the removing node’s pointer?

Im a beginner in coding and recently studying linked list on JavaScript.
I am confused that while removing node, should i also change the removing node’s pointer to null?

Most of the linked list examples i saw in JS omitted this. I am wondering will it waste more memory?

Thank you.