Answer the question
In order to leave comments, you need to log in
How correct is it to write the names of properties in an object in Russian?
How correct is it to write properties in Russian in Mongu? for example
{
'количество': 1,
'имя': 'Имя'
}
{
'kolichestvo': {
'name': 'количество',
'value': '1'
}
}
Answer the question
In order to leave comments, you need to log in
In quotation marks - it is quite correct. Will work.
var o= {
'количество': 1,
'имя': 'Имя'
}
console.log('o["количество"]= ', o["количество"]);
For Russian in the code, the developer must be very painful. Do not do it this way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question