It's a hard question to answer, since I feel the approach honestly depends on what language you're using and what type of code you're writing - as well as how flexible it needs to be, and for what purpose.
My answer was based on my personal opinion, and I chose POP - however - OOP seems to be my default for anything JS related.
Here's a great article that will help some folks understand it from a vanilla JS POV, since you're most likely using OOP already.