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...

Markdown supported Β· ββ΅ to post
Thank you (π―) π, have updated the code.
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 πππ