// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

js> a = []

js> a[0] = 10
10
js> a[1] = 11
11
js> a[3] = 13
13
js> a[4] = 14
14
js> a[5] = 15
15
js> a.reverse()
15,14,13,,11,10
js> a.reverse()
10,11,,13,14,15
js> a.concat([16,17])
10,11,,13,14,15,16,17
