Greetings
I looked at several sources on the current question, but did not understand something with the answer.
I want to make it so that a variable can be passed to a function by reference (as in C / C ++), and within the variable to work with this reference, for example:
function MyFunc(params) { params.my_data++; } let data = 10; myFunc({ my_data: &data, }); console.log(data); // 11 Tell me, does JS allow such operations?