1Array.push(3kaya) Kaya module reference Array.push(3kaya)
2
3
4
6 Array::push - Push a value onto the end of an array.
7
9 Void push( var [a] array, a v )
10
12 array The array
13
14 v The value to push
15
17 Push a value onto the end of an array.
18
19
20 array = [1,2,3];
21 push(array,4);
22 // array = [1,2,3,4]
23
25 Kaya standard library by Edwin Brady, Chris Morris and others
26 (kaya@kayalang.org). For further information see http://kayalang.org/
27
29 The Kaya standard library is free software; you can redistribute it
30 and/or modify it under the terms of the GNU Lesser General Public
31 License (version 2.1 or any later version) as published by the Free
32 Software Foundation.
33
35 Array.addAt (3kaya)
36 Array.pop (3kaya)
37 Array.shift (3kaya)
38 Array.unshift (3kaya)
39
40
41
42Kaya December 2010 Array.push(3kaya)