1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00
Commit Graph

33 Commits

Author SHA1 Message Date
Robert Krimen
56429ee75b Fix placement of elements during Array.prototype.concat
Increase the index even if the element at the index does not exist
2014-01-24 21:20:22 -08:00
Robert Krimen
c8dbfa3536 Fix inadvertent stringification in Array.prototype.concat 2014-01-24 21:20:22 -08:00
Robert Krimen
5a547eb437 Add tests for Array.prototype.map 2014-01-24 21:20:22 -08:00
Robert Krimen
d266e3e1cf Add tests for Array.prototype.forEach 2014-01-24 21:20:22 -08:00
Robert Krimen
5506ffa845 Add tests for Array.prototype.some 2014-01-24 21:20:22 -08:00
Robert Krimen
5454337813 Add tests for Array.prototype.every 2014-01-24 21:20:22 -08:00
Robert Krimen
3ed7305787 Fix NaN/+0/-0 comparison in Array.prototype.lastIndexOf 2014-01-24 21:20:22 -08:00
Robert Krimen
3ba06f003c Fix NaN/+0/-0 comparison in Array.prototype.indexOf 2014-01-24 21:20:22 -08:00
Robert Krimen
02a5e270d8 Test the genericity of Array.prototype.indexOf 2014-01-24 21:20:22 -08:00
Robert Krimen
7970552164 Fix: Array.prototype.sort.length = 1 2014-01-22 20:46:15 -08:00
Robert Krimen
5e8cb6296e Fix: Array.isArray.length = 1 2014-01-22 20:33:46 -08:00
Robert Krimen
81d91501f8 Handle non-numeric arguments to new Array properly 2014-01-22 20:30:10 -08:00
Robert Krimen
ca0a007083 RangeError if Array.length = 3.141, new Array(3.141), etc. 2013-08-11 14:59:31 -07:00
Robert Krimen
ac8b526ba6 Test DefineOwnProperty (Array) 2013-07-21 17:48:42 -07:00
Robert Krimen
40d01ced6e Add Array.reduceRight (sdgoij) 2013-06-23 15:29:33 +02:00
Robert Krimen
1b70913ef7 Add Array.reduce (sdgoij) 2013-06-23 14:56:26 +02:00
Robert Krimen
bbc7992385 Add Array.filter (sdgoij) 2013-06-23 14:44:41 +02:00
Robert Krimen
d4a09639a9 Add Array.map (sdgoij) 2013-06-23 14:37:26 +02:00
Robert Krimen
11d011e6a3 Add Array.forEach (sdgoij) 2013-06-23 14:00:01 +02:00
Robert Krimen
b800b809a2 Add Array.some (sdgoij) 2013-06-23 13:48:03 +02:00
Robert Krimen
4ebf6416d0 Fix Uint32 Array/String indexing
Also, a bunch of toValue_* streamlining
And maybe a few miscellaneous tweaks
2013-06-22 15:49:22 +02:00
Robert Krimen
48607926f1 Add Array.every (sdgoij) 2013-06-16 15:31:15 -07:00
Robert Krimen
2479aa628b Add Array.lastIndexOf (sdgoij) 2013-06-16 14:55:12 -07:00
Robert Krimen
6b4c8ec2b2 Add Array.indexOf (sdgoij) 2013-06-16 14:13:43 -07:00
Robert Krimen
9fe41e1df9 Add Array.toLocaleString 2013-06-15 18:02:13 -07:00
Robert Krimen
81de6c8f02 Fix writable/enumerable/configurable of *.prototype to be false
Number, String, Array, RegExp, Error, etc.
2013-06-15 17:38:16 -07:00
Robert Krimen
c6e033bf6c Fix Array initialization (in the case of [,...], etc.) 2013-06-02 16:41:34 -07:00
Robert Krimen
599d565e55 Use defineOwnProperty (not put) for Array (literal) initialization 2013-06-01 23:11:13 -07:00
Robert Krimen
7e2b4f2063 Rewrite of property handling to be more robust and compliant
* No more _stash
* Now using a "virtual table" system via _objectClass
* Make Array.concat GoArray compatible (via .isArray())

Fix #16
2013-05-12 14:14:51 -07:00
Robert Krimen
9f1daa280e Make sure delete([].xyzzy) (Array) actually works 2013-04-17 15:08:53 -07:00
Robert Krimen
0da0545485 Add Array.isArray 2013-04-17 11:05:32 -07:00
Robert Krimen
9184233705 Bundle terst dependency (github.com/robertkrimen/terst) 2013-04-15 10:20:34 -07:00
Robert Krimen
809a0a0ba6 Split tests out of one big massive file 2013-02-05 08:56:08 -08:00