fork(2) download
  1. process.stdin.resume();
  2. process.stdin.setEncoding('utf8');
  3.  
  4. // your code goes here
  5. numbers = [10, 20, 30, 40, 50];
  6. //인덱스 3의 값을 제거
  7. numbers.splice(3,1);
  8. for(i = 0; i < numbers.length; i++){
  9. console.log(numbers[i]);
  10. }
Success #stdin #stdout 0.06s 11232KB
stdin
Standard input is empty
stdout
10
20
30
50