Try using the .pop() method. It'll delete the last item of an array.

obj.Results.pop();
Answer from Robiseb on Stack Overflow
Discussions

Remove Property from Nested Objects?
Why do you want to remove them? Hide them from a API endpoint maybe? I would use a transformer that does this instead of using a recurring function More on reddit.com
๐ŸŒ r/laravel
8
2
June 8, 2017
How to get the last item of an array with destructuring

Why not just do array[array.lemth -1]

More on reddit.com
๐ŸŒ r/javascript
22
6
June 13, 2020
What's with the trailing commas?
the primary reason i've been told is that this helps with diffs in source control, like git. If you add a new parameter to the end of that list, the only change you get is a new line. If you didn't have a trailing comma, to add a new parameter at the end you'd also have to change the last line (adding a new comma), meaning the diff would come out as "i'm removing the line without a comma and adding 2 lines. Something like { q:"value", - a:42 + a:42, + newParam: "newval" } does that make sense? More on reddit.com
๐ŸŒ r/javascript
29
0
August 24, 2017
๐ŸŒ
Medium
medium.com โ€บ @iamdarius โ€บ 4-ways-to-remove-the-last-element-from-an-array-in-javascript-17749b12be0c
Learn 4 Ways to Remove the Last Element from an Array in JavaScript | by Darius Moore | Medium
September 8, 2022 - One thing to note here is that the splice method returns an array of deleted elements. If there are no items deleted from the array, an empty array will be returned. ... With the length property, it is fairly straightforward to remove the last item.
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ Array โ€บ pop
Array.prototype.pop() - JavaScript - MDN Web Docs
The removed element from the array; undefined if the array is empty. The pop() method removes the last element from an array and returns that value to the caller.
๐ŸŒ
Vultr Docs
docs.vultr.com โ€บ javascript โ€บ standard-library โ€บ Array โ€บ pop
JavaScript Array pop() - Remove Last Element | Vultr Docs
December 9, 2024 - The pop() method is a fundamental array operation in JavaScript, designed to remove the last element from an array.
๐ŸŒ
Techie Delight
techiedelight.com โ€บ home โ€บ java โ€บ remove last element from an array in javascript
Remove last element from an array in JavaScript | Techie Delight
July 7, 2026 - The following example demonstrates the usage of the splice() to remove the last element from the array of length 5. ... If youโ€™re using the Lodash JavaScript library in your project, you can use the initial() method, which returns everything but the last element of the array.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript-remove-the-last-item-from-an-array
Remove the last Item From an Array in JavaScript
November 18, 2024 - Swaping the first and last elements in a JavaScript array refers to swapping their positions, effectively exchanging the values at these two distinct indices within the array. There are several methods that can be used to interchange the firs ... Removing the first and last elements from an array is a common operation.
Find elsewhere
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ how-to-remove-an-element-from-a-javascript-array-removing-a-specific-item-in-js
How to Remove an Element from a JavaScript Array โ€“ Removing a Specific Item in JS
August 31, 2022 - Putting a comma before the rest operator says to avoid the first element in the array, and all the others are copied in the arrayOfCulinaryFruits array. In some cases it might be appropriate to mutate the original array. In these cases you can also use one of the following mutating methods. ... You can remove the last item of an array with Array.prototype.pop().
๐ŸŒ
Delft Stack
delftstack.com โ€บ home โ€บ howto โ€บ javascript โ€บ remove last element from array in javascript
How to Remove Last Element From Array in JavaScript | Delft Stack
February 2, 2024 - Check the code below. var array = [10, 11, 12, 13, 14, 15, 16, 17]; array.splice(-1, 1); console.log(array); ... The pop() function is the most straightforward way to achieve this.
๐ŸŒ
IQCode
iqcode.com โ€บ code โ€บ javascript โ€บ how-to-remove-last-element-in-js
how to remove last element in js Code Example
November 17, 2021 - f dom querry get last item and ... exclude last item in array javascript delete last item in js remove last element from javascript "js" remove last element array remove last object in array javascript remove last array index js array without last element remove from ...
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript โ€บ how-to-remove-first-and-last-element-in-array-using-javascript
How to Remove First and Last Element from Array using JavaScript? - GeeksforGeeks
July 23, 2025 - The approach involves populating an array with a sequence of numbers and then removing the first and last elements if the array contains more than one element. The array is initially empty and numbers from 0 to 9 are added to it. After ensuring the array has more than one element, the splice() method is used to remove the first element and then the last element.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript โ€บ javascript-delete-last-occurrence-from-js-array
JavaScript - Delete last Occurrence from JS Array - GeeksforGeeks
July 11, 2025 - To remove the last element from an array, you can use the spread operator along with array destructuring. ... The reduceRight() method applies a function against an accumulator and each value of the array (from right-to-left) to reduce it to ...
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ javascript-delete-last-occurrence-from-js-array
JavaScript โ€“ Delete last Occurrence from JS Array | GeeksforGeeks
November 18, 2024 - Using pop() methodThe pop() method removes and returns the last element of an array. This function decreases the length of the array by 1 every time the element is removed.javascriptlet a = ["Apple", ... To Remove the elements from an array ...
๐ŸŒ
Scaler
scaler.com โ€บ home โ€บ topics โ€บ remove object from array javascript
Remove Object From Array in JavaScript - Scaler Topics
May 23, 2024 - In other words, the array.pop() method removes the last object of the array in JavaScript. JavaScript's splice() method of the Array class alters the original array's contents. It functions by getting rid of the current elements and replacing them with new ones, which may affect the length ...
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ How-to-remove-last-array-element-in-JavaScript-and-return-it
JavaScript - Array pop() Method
August 26, 2022 - In JavaScript, the Array.pop() method is used to remove the last element from an array and returns that element. It modifies the original array by decreasing its length by one.
๐ŸŒ
HackerNoon
hackernoon.com โ€บ how-to-remove-the-last-element-of-a-javascript-array
How to Remove the Last Element of a JavaScript Array | HackerNoon
November 6, 2022 - Finally, another way to accomplish this without changing the original array is to use slice (not to be confused with splice). slice() differs from both pop() and splice() in that, it makes a shallow copy of the original array. Removing the last element with slice looks like this:
๐ŸŒ
TutorialKart
tutorialkart.com โ€บ javascript โ€บ how-to-remove-last-element-of-array-in-javascript
How to Remove Last Element of Array in JavaScript?
October 2, 2021 - In this JavaScript Tutorial, we learned how to remove last element of an array using pop() method.
๐ŸŒ
Bobby Hadz
bobbyhadz.com โ€บ blog โ€บ javascript-get-last-item-in-object
How to get the Last item in an Object using JavaScript | bobbyhadz
March 4, 2024 - Copied!const obj = {one: 1, two: 2, three: 3}; console.log(Object.values(obj)); // ๐Ÿ‘‰๏ธ [1, 2, 3] The last step is to use the Array.pop() method to remove and return the last element from the arrays.