|
|
|
|
|
by askonomm
883 days ago
|
|
I didn't know, but apparently you can execute a function in JS without parentheses using upticks (`), e.g: functionName`param`
and whatever is inside of the upticks get sent to the function as an array. It's also what Bun is doing with it's $ (dollar sign) function for executing shell commands. There's so much weird syntax magic in JS. |
|