Bug 1874684 - Part 5: Directly convert to DurationObject this-value to Duration value...
commit6df34674355d508cf99c0e56ddd31e710dcf8596
authorAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:18 +0000 (15 18:27 +0000)
committerAndré Bargull <andre.bargull@gmail.com>
Mon, 15 Apr 2024 18:27:18 +0000 (15 18:27 +0000)
treef7a45d25ac6710bcf9b2017ada554c36f2ca6c2e
parent176d41eb89ac23da2ab67b992da2ecd3a1562c03
Bug 1874684 - Part 5: Directly convert to DurationObject this-value to Duration value. r=dminor

This matches other methods and makes the code a bit smaller.

Differential Revision: https://phabricator.services.mozilla.com/D198538
js/src/builtin/temporal/Duration.cpp