mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-20 09:21:55 +00:00
LibJS: Refactor Temporal add/subtract to common AOs
This is an editorial change in the Temporal spec. See: -2f96efc
-fbff635
This commit is contained in:
parent
875093e6a9
commit
3729a910f6
Notes:
sideshowbarker
2024-07-17 11:10:33 +09:00
Author: https://github.com/linusg
Commit: 3729a910f6
Pull-request: https://github.com/SerenityOS/serenity/pull/13944
Reviewed-by: https://github.com/IdanHo
19 changed files with 259 additions and 280 deletions
|
@ -17,6 +17,11 @@
|
|||
|
||||
namespace JS::Temporal {
|
||||
|
||||
enum class ArithmeticOperation {
|
||||
Add,
|
||||
Subtract,
|
||||
};
|
||||
|
||||
enum class OptionType {
|
||||
Boolean,
|
||||
String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue