Assignment B1 - CRUD Snippets
Home
Snippets
Sign in
sum of a +b
Snippet Details
Author:
Ludwig Wittenberg
Code Language:
JavaScript
Description:
This is a function that calculates the sum of A and B.
Code Snippet:
function add(a, b) { return a + b } const sum = add (5, 5) console.log(sum) // 10