Implement a function sum in helper.js which should return the sum of two numbers
This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task
solution.js
/**
* Implement a function sum in helper.js which should return the sum of two numbers
* */
import { sum } from './helper.js';
console.log(sum(2, 2)); // 4
console.log(sum(-1, -5)); // -6