Cannot get global variables inside a function node

It could be quite a trivial question… for who knows how to do it.
I used global variables inside change nodes without great problems.
I’m trying to “translate” some change nodes into functions but I cannot get globals at all.
Here following my code and globals.

the “l” and “e” variables are always undefined.
Is it me?

You have storage which shows “ram” as storage location. Since you have more than one type of storage you need to specify it in the function. On CORE, by default, the one and only is file storage and you wouldn’t need to specify.

var l = global.get('th-letto', 'ram')

Shame on me! ,:face_with_peeking_eye: