mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibJS: Implement unary plus / minus
This commit is contained in:
parent
5e6e1fd482
commit
a62230770b
Notes:
sideshowbarker
2024-07-19 07:59:16 +09:00
Author: https://github.com/linusg
Commit: a62230770b
Pull-request: https://github.com/SerenityOS/serenity/pull/1587
9 changed files with 73 additions and 25 deletions
|
@ -181,6 +181,8 @@ Value bitwise_and(Value lhs, Value rhs);
|
|||
Value bitwise_or(Value lhs, Value rhs);
|
||||
Value bitwise_xor(Value lhs, Value rhs);
|
||||
Value bitwise_not(Value);
|
||||
Value unary_plus(Value);
|
||||
Value unary_minus(Value);
|
||||
Value left_shift(Value lhs, Value rhs);
|
||||
Value right_shift(Value lhs, Value rhs);
|
||||
Value add(Value lhs, Value rhs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue