Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delete nth node from end

let coolThing = [1, 2, 3, 4, 5];
coolThing.splice(-n, 1);
 
PREVIOUS NEXT
Tagged: #delete #nth #node
ADD COMMENT
Topic
Name
8+9 =