Implement a function multiply in helper.js which multiplies four numbers and returns the product

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 multiply in helper.js which multiplies four numbers
 * */

import { multiply } from './helper.js';

console.log(multiply(2, 2, 1, 1));   // 4
console.log(multiply(-1, 2, 2, 2));  // -8