method

[]

v1_8_6_287 - Show latest stable - Class: Array
[](...)
public

Returns a new array populated with the given objects.

  Array.[]( 1, 'a', /^A/ )
  Array[ 1, 'a', /^A/ ]
  [ 1, 'a', /^A/ ]