How I Created an Interview CLI with Node.js for self-interview preparation
Hi Guys, In this article, we will focus on topics of Node.js, CLI, and Interview Preparation.
I have created a self-interview preparation CLI toolkit, which will show me random questions whenever I run a CLI command called "interview".
Sounds cool ri...
karthikdevarticles.com3 min read
Diky Hadna πΎ
Nice work π₯π₯π₯
But I think it's better to read total line number instead of hardcode the
10.It's something like this:
const totalLine = <get_the_total_line_number_from_txt> const n = crypto.randomInt(0, totalLine);Keep up the good work πππ