Basic JavaScript - Passing Values to Functions with Arguments

// PLS WHAT IS THAT I DID WRONGLY, THE CODE IS NOT WORKING.

Your code so far


function functionWithArgs(meta1, meta2) {
  console.log(meta1, meta2);
}

functionWithArgs(3, 16);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

You log your arguments to console, assignmen say :

  1. …and outputs their sum to the dev console.
1 Like