The parentheses at the end tell JS that you are not referencing it but are actually calling it.
That is a function without parameters. For your function, you need to send it parameters. Those are placed inside the parentheses, separated by commas:
functionWithArgs(1, 2);
If your function is written correct, that should log out “3” to the console.