JSFiddle - React, Tailwind, and code Playground
by hescano
JavaScript
function findSmallestInt(args) {
return args.reduce(function (t, n) { return t < n ? t : n; });
}
console.log(findSmallestInt([78,56,232,12,18]));
by hescano
function findSmallestInt(args) {
return args.reduce(function (t, n) { return t < n ? t : n; });
}
console.log(findSmallestInt([78,56,232,12,18]));