48
6

Info display in mall

9mon 25d ago by lemmy.blahaj.zone/u/Interstellar_1 in pbsod@lemmy.ohaa.xyz from files.catbox.moe

i wonder which programming language this is from and what the error means

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') 

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

My guess is a daylight sensor somewhere to know when the change to the brightness. Maybe?

Maybe it shows the weather?

love this