Newbie: How to create a Javascript map? #1245
Unanswered
espruino-discuss2
asked this question in
Tutorials
Replies: 2 comments
-
Posted at 2023-01-24 by @gfwilliams Hi - I'm afraid there's no But what do you actually want to use it for? By default objects work basically the same way...
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2023-01-24 by MarcEvan ! I hadn't considered using them like that, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Posted at 2023-01-23 by MarcEvan
Code that works in my browser/Node.js uses "new Map()" but on my Pixl I'm getting:
Uncaught ReferenceError: "Map" is not defined
Is there a require("something") I need to call first?
Beta Was this translation helpful? Give feedback.
All reactions