Specifically, I want to create an HTML <input> element, and obtain a reference to its value property such that I can change its value through that reference:
var input = document.createElement('input');
var valueRef = &(input.value);
*valueRef = "Hello world!"
The syntax is obviously pseudo, I’m adding some C++ to illustrate my desire. 😛
No, this is impossible. Primitives will always be passed by value while objects always passed by reference. There is nothing like
*or&.