Type conversion of decimal to ASCII/Unicode/character value in JavaScript
I have written a JavaScript function which converts a random integer to its character representation in HackerRank Web IDE to generate random ids of variable input length. The IDEs yargs parser has thrown an error saying it executes code with a minimum Node.js version of 10. After seeing the further description of logs it seems line 15 with String.fromCharCode() method is unsupported/deprecated. They have asked to refer to this version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions. I have been unable to debug my code using this reference to version support policy. Which JS version does this parser on HackerRank Web IDE support? And what is the fix for this error? https://code.sololearn.com/W9jcM7ysS0Yo/?ref=app