Intent to Ship: ECMAScript 2016 Exponentiation operator

36 views
Skip to first unread message

Caitlin Potter

unread,
Apr 15, 2016, 9:52:04 AM4/15/16
to v8-users, blink-dev
[FYI +blink-dev]

Contact emails

ca...@igalia.com


Spec

Feature has been merged into ECMA262 specification [1]

Summary

Introduces arithmetic operators `**` and `**=`, which behaves as though Math.pow() were called, using the lefthand-side as the base, and righthand-side as the exponent value.

Implemented in V8 since M51 [2], and has been enabled via the --harmony flag and experimental javascript features flag since roughly a week after implementing.

At the moment, this feature is implemented in a very simple way, without introducing complexity to the compiler backends, with limited constant folding support.

Interoperability and Compatibility Risk
Feature is included in the feature set for ECMAScript 2016, and is implemented by several vendors.
- Shipping in Microsoft Edge [3]
- Implemented in Mozilla FireFox [4]

OWP launch tracking bug
See [5] for launch tracking bug

Entry on the feature dashboard
See [6] for feature dashboard entry


Andreas Rossberg

unread,
Apr 18, 2016, 5:07:46 AM4/18/16
to v8-u...@googlegroups.com, blink-dev
LGTM, thanks!

--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adam Klein

unread,
Apr 18, 2016, 1:28:31 PM4/18/16
to v8-users, blink-dev
LGTM2

Reply all
Reply to author
Forward
0 new messages