Devtools Tech Logo
0
0
0

What would be the output? (Based on Array prototype forEach)

Option 1
0 1
2 3
0 1
1 undefined
2 3
Option 2
0 1
1 undefined
2 3
0 1
1 undefined
2 3
Option 3
0 1
1 3
0 1
1 3
Option 4
0 1
1 undefined
2 3
0 1
2 3