const length = 12;
const number = length(24);
Click Run to execute JavaScript.
Code runs in an isolated environment.