Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.6.0
-
None
-
b8eea8f9f8922f883ad9e5a54c6d35183138ccc1
Description
Blog post suggests that everything under Math are exposed through global object. However, parameters after second seem to be ignored. For example, this gives result of 2:
= max(1,2,3)
But if used through Math.max does work correctly:
= Math.max(1,2,3)
Attachments
For Gerrit Dashboard: QTCREATORBUG-20167 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
224743,3 | Locator/JavaScript: Fix min/max with more than 2 arguments | 4.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |