Formatter JS/TS
src
/
tools
/
Formatter JS/TS
Format
Kode Input
function test(n){ return n<2?1:test(n-1)*n; } console.log(test(5));
Output Terformat
function test(n) { return n < 2 ? 1 : test(n - 1) * n; } console.log(test(5));