I accidentally discovered that you can access element just typing it's id e.g:
<input id="test" value="testValue"/>
<script>
console.log(test.value); //testValue
</script>
Can anyone point me please where that feature coming from? (it is really hard to google things like that)