fork(8) download
  1. names = ['egoing', 'leezche', 'graphittie']
  2. puts(names.class) # Array
  3. puts(names[0]) # egoing
  4. names[0] = 'k8805'
  5. print(names) # ["k8805", "leezche", "graphittie"]
Success #stdin #stdout 0.02s 7452KB
stdin
Standard input is empty
stdout
Array
egoing
["k8805", "leezche", "graphittie"]