Passing Values to Functions with Arguments
See original GitHub issueMy issue is that i am writing the correct code even as it is in the example but it keeps saying test passed but doesnt proceed to the next page.
`// Example function ourFunctionWithArgs(a, b) { console.log(a - b); } ourFunctionWithArgs(10, 5); // Outputs 5
// Only change code below this line.
function fucntionWithArgs(a, b) { console.log(a + b); } fucntionWithArgs(90, 9);`
Google Chrome Windows
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
JavaScript Function Parameters - W3Schools
Arguments are Passed by Value. The parameters, in a function call, are the function's arguments. JavaScript arguments are passed by value: The function...
Read more >Passing-values-to-functions-with-arguments - JavaScript
When you are defining a function, you can specify variables for that functions scope. The variables will only be available within that function...
Read more >How to pass multiple arguments to function ? - GeeksforGeeks
The * symbol is used to pass a variable number of arguments to a function. Typically, this syntax is used to avoid the...
Read more >Pass by reference (C++ only) - IBM
Pass -by-reference means to pass the reference of an argument in the calling function to the corresponding formal parameter of the called function....
Read more >24. Passing Arguments | Python Tutorial
If you pass immutable arguments like integers, strings or tuples to a function, the passing acts like call-by-value. The object reference is ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like you got a typo error in your code Instead of fucntionwithArgs it needs to be functionWithArgs. Let me know if that solves ur problem
Yikes, i just saw the error. Thank you.