toshok/echo-js — pull request #12 by carlosalberto (2014-01-05 01:18:46+00:00)
Title: Fixes for ArrayBuffer.

* ArrayBuffer size should be returned through 'byteLength', not 'length'.
* ArrayBuffer (int, int) should use the second parameter as 'elements', not as 'byteLength'.
* Added a small test case to show it (tested with SP/Node).