Moderator
Has successfully completed the online course Introduction
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification 3 years, 11 months ago
#30035
::
Hi Hannah,
the pop function works, as we also use it in some applications.
Have you checked if the value of your global variable is actually an array?
Where do you use that code sample(application script block, serverside businessobject, clientside buisness object)?
Here’s also a quick reference to the documentation: Array.prototype.pop()