4 lines
81 B
JavaScript
4 lines
81 B
JavaScript
|
const min= (a, b) => a < b ? a : b
|
||
|
|
||
|
console.log(min(3, 5))
|
||
|
console.log(min(5, 3))
|