Oh ternary operator is goated.

As an intermidiate java script developer, I have always shy away from anything that try to abstract my beginner's way of doing things in JS, Such as using fat function instead of using function(){} document . addEventListener ( "DOMContentLoaded" , ()=>{ // (fat funky is cool too btw) }) Or Writing if statement logic on a line with note else{} const cat = 44 if ( cat < 5 ) console . log ( "hello…