What topic is this task focused on?
Set the body of a single function f so that the value of i2.value becomes synchronized with i1.value , that is, it must be equal to i1.value and change further when i1.value changes.
i1 and i2 - input elements.
Restriction1: do not use global variablesi1.id : i1.id and i2.id undefined and cannot be defined.
Restriction 3: you can not modify the properties of i1 and i2, except for the value and properties responsible for the events ( onChange , etc.).
function f(i1,i2) // i1,i2 - input-элементы {}