FPT Software Interview Question

Create a JavaScript random number