The What
Description
The end
function does two tasks:
- It moves the array’s internal pointer to the last element in the array.
- Then it returns the element’s value at the new position.
If the array is empty, then false is returned.
Show It in ActionBasic
Let’s see the end
function in action. In this video, you will see how it works.
Code. Eat. Code. Sleep. Dream about Code. Code.
Deep into the endPro
In this video, you will go deeper into the instruction.