Is there a quicker method for writing this code efficiently?
view = + data.items[ 0 ].statistics.viewCount
view1 = + data.items[ 1 ].statistics.viewCount
view2 = + data.items[ 2 ].statistics.viewCount
document.getElementById("views").innerHTML = view;
document.getElementById("views2").innerHTML = view1;
document.getElementById("views3").innerHTML = view2;