• Emotional (he/him)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      11 days ago

      In case you’re not making a joke or somebody else is wondering: this looks like a JavaScript error. Specifically, one that comes from trying to read . daylight from something that is undefined.

      For example, you can get a very similar error by running:

      const info = undefined; 
      console.log(info.daylight);
      

      Which in Chromium and in NodeJS v22 gives you this error:

      Uncaught TypeError: Cannot read properties of undefined (reading 'daylight') 
      
      • FQQD@lemmy.ohaa.xyzM
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 days ago

        Ah, thanks. I knew I’ve seen this kind of error somewhere before. Still interested in what a “daylight” variable would do for the code of an info display