mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
3 changed files with 14 additions and 1 deletions
@ -0,0 +1,3 @@ |
|||||
|
module.exports = { |
||||
|
description: 'parameters can be reassigned/updated' |
||||
|
}; |
@ -0,0 +1,7 @@ |
|||||
|
function numbers ( i ) { |
||||
|
var array = new Array( i ); |
||||
|
while ( i-- ) array[i] = i + 1; |
||||
|
return array; |
||||
|
} |
||||
|
|
||||
|
assert.deepEqual( numbers( 5 ), [ 1, 2, 3, 4, 5 ] ); |
Loading…
Reference in new issue