pop()
← Back to Module core
Remove the first element of an array
pop(arr)
arr
boolean
true
a = [1, 2, 3, 4, 5, 6] pop(a) pop(a) ' a is: ' array( ' [0] = 3, ' [1] = 4, ' [2] = 5, ' [3] = 6 ' )
Documentation version: 1.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.