can a variable or constant store a operator in javascript?

Use a function:

const k = num => num / 100;
console.log(k(10));

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top