Skip to content

Conversation

@AnthonyCalandra
Copy link
Contributor

This patch adds support for the %TypedArray%.prototype.fill function
according to Section 22.2.3.8 of the ES2015 spec.

JerryScript-DCO-1.0-Signed-off-by: Anthony Calandra anthony@anthony-calandra.com

* limitations under the License.
*/

var a = new Int32Array([1, 2, 3, 4, 5]);
Copy link
Contributor Author

@AnthonyCalandra AnthonyCalandra Jun 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to add a test for when we take a subarray of an ArrayBuffer -- coming soon.

Done.

JerryScript-DCO-1.0-Signed-off-by: Anthony Calandra anthony@anthony-calandra.com
@AnthonyCalandra AnthonyCalandra force-pushed the typedarray-fill-support branch from ebd8838 to e19d7d9 Compare June 29, 2018 18:17
Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@yichoi yichoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yichoi yichoi merged commit a456c90 into jerryscript-project:master Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants