DEV Community

Discussion on: Do you leave jokes in your code? If so, please share!

Collapse
 
hdennen profile image
Harry Dennen

If a user hadn't used the new feature the UI needed to display a "new" icon next to it's menu link. so...

  let thaySeentIt;

  function init() {
    thaySeentIt = checkNewFeatureFlag();