Implement the function isOfAge in helper.js.
It should accept the users age and return false, if it’s less than 21, otherwise - true.
You can’t use if, switch or ternary operator

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


export const isOfAge = () => false;


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

console.log(isOfAge(15));       // false
console.log(isOfAge(27));       // true