Answer the question
In order to leave comments, you need to log in
How to create an attribute for objects in an array?
Hello, I'm wondering if it's possible to assign attributes to array elements.
There is an array:
const Karten = [
'Karten/MemoryCard1.jpg',
'Karten/MemoryCard2.jpg',
'Karten/MemoryCard3.jpg',
'Karten/MemoryCard4.jpg',
'Karten/MemoryCard5.jpg',
'Karten/MemoryCard6.jpg',
'Karten/MemoryCard7.jpg',
'Karten/MemoryCardBackside.jpg'
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question