Replies: 2 comments 2 replies
-
|
It would be very nice to have that capability. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi Jos, I was giving some more thought. Do you think the shorthand might be more useful if mathjs had scopes? (not a single scope) I've seen there are some plans for multi line functions and control flow in which case maybe scopes would be nice. #2701 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be very convenient to have support for object literal property value shorthand in the expression parser like JavaScript has since ES6, so you can write
{x,y}instead of{x:x,y:y}.See: https://attacomsian.com/blog/javascript-object-property-shorthand
Beta Was this translation helpful? Give feedback.
All reactions