I need help representing an integer as any string of my choice (not just the actual string representation of the integer).
Context- I have a dropdown box on a web app consisting of numbers placed into an array [10, 5, 0, -5, -10]. On the web application I need the 0 to appear as the string "Select", but still maintain the functionality of the int 0. There may be an HTML or CSS solution to this if it is not possible in JavaScript. Thank you.
''+123 == '123' && ~~'123' === parseInt('123',10)