Implement the function min that takes three numbers and returns the smallest one.
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
helper.js
export const min = (a, b, c) => {
return 0;
}
solution.js
/**
* Implement a function min that takes three numbers and returns the smallest one
* */
import { min } from './helper.js';
const a = 1;
const b = 2;
const c = 3;
console.log(`The minimum is ${min(a, b, c)}`);