Does pop() need parameters?

Does pop() needs parameters

In JavaScript, no parameters are expected by the .pop() method. The method is the exact opposite of the .push() method. The last thing pushed will be the first thing popped.

1 Like