Python is EAFP, and Swift is LBYL. What is the best choice for Javascript?<p>For those who don&#x27;t know:<p>EAFP: Easier to Ask Forgiveness than Permission (try&#x2F;catch)
LBYL: Look Before You Leap (if condition: do thing)
LBYL or EAFP for JavaScript?