generate functionWed, 30 Nov 2022

the website asks for two numbers, then adds them up and gives the sum to the user

Script function add(a, b){ return a + b; } const sum = add(1, 2);

Questions about programming?Chat with your personal AI assistant