Похожие чаты

Now what's the value of myArry?

7 ответов

12 просмотров

Bad name, it should be myArr or myArray

MUTHU・KUMAR 「メーカー」 🔺
It's his Arry okay, don't judge

Use suffix ‘Arr’ or ‘Array’ to remind yourself it is an array variable especially when you reference the variable hundred lines down. You can also pluralize the array variable name as well.

D
Use suffix ‘Arr’ or ‘Array’ to remind yourself it ...

In real code you sh/wouldn't even do generic names like myArray. Should be something more meaningful like "users" or "products". But he's just learning, anything is fine.

array of object that is like this: const myArray = [ { "key":"value" }, { "key 2":"value 2" }, { "key 3":"value 3" }, { "key 4" :"value 4" }, ]

MUTHU・KUMAR 「メーカー」 🔺
In real code you sh/wouldn't even do generic names...

yes in real program we will use meaning name for anything. but since name of my array doesn't related to my problem so i just use random name in here.

Похожие вопросы

Обсуждают сегодня

30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
читать файл максимально быстро? странный вопрос))
zamtmn
53
тоесть, указав return eax, сгенерируется никому ненужная инструкция mov eax,eax ?
Aiwan \ (•◡•) / _bot
24
Посоветуйте пожалуйста аудио плеер для библиотеки mp3- FLAC на компьютере. На Винде пользовался Aimp, в том числе для конвертации. Много нужных команд было прямо в контекст...
Виктор Кузнецов
31
Hi guys , do we have update on voting?
HB
15
How Much Btc Falling Down ?
Suriya
22
Why build it new? Why not try and get projects like fjord foundry etc. to launch? There is more power in getting real adoption and other teams on than to start everything a ne...
Qrayon Shinchan
11
ᴅᴏ ʏᴏᴜ ᴋɴᴏᴡ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ꜱᴇᴄᴜʀᴇ ᴀ ᴍᴀꜱꜱɪᴠᴇ ꜰɪɴᴀɴᴄɪᴀʟ ꜰᴜᴛᴜʀᴇ ʙʏ ᴊᴏɪɴɪɴɢ ᴛʜᴇ ᴏɴ ɢᴏɪɴɢ Qᴜᴀɴᴛᴜᴍ_ᴀɪ_ʀᴏʙᴏᴛ ᴛʀᴀᴅɪɴɢ ʙʏ ᴇʟᴏɴ ᴍᴜꜱᴋ? 👇👇👇JOIN NOW https://t.me/+3Ii7e3UQKRpiZjZk https://t...
Niklas Orlowski
3
It is definitely an interesting conversation. Breaking up the users into 2 personas: 1. Someone who wants to use the products (I want “x” pegged stablecoin that provides safe...
Bueno Pues
10
Hi guys ! Anvil is out ! Time for me to stake on capacity. Does someone has a clear tutorial ? I’m thinking about buying a ledger. Is that really possible to stake directl...
Mister Grega
16
Карта сайта