Temp Code Work Page

Here I will compose .js code snippets to insert into .js applications, mostly in my Udemy .js class.

conts startingValue = 0 let var1Name () = startingValue + 10 function add(num1, num2) = { cont result= num1 + num2; alert('The result is' + result); } add(3, 4); add(4, 5);

function subtract (num1, num2) { let num1()= ; //do i need these variables since they are referenced in the function parameters? let num2 ()= ; const remainder ()= num1 - num2; //do constants have parameters like variables? return remainder alert ('Here is the difference ', remainder) } //how do I assign values to num1 and num2? Do I just say subtract (10, 2) //and the remainder 2 will be returned? function stringify (){ const imputNumber const inputString return ('inputString, inputNumber')