What will happen if we execute the following piece of code?
<script>
var arr=[4,3,,1];
for(i=0;i<4;i++){
document.writeln(arr[i]);
}
</script>
a) The output will be 4 3 1
b) The output will be 4 3 undefined 1
c) It will result in an error
d) It does not run at all