Day 16: Exceptions - String to Integer

  • + 0 comments

    for js

    function main() { const S = readLine();console.log(parseInt(S)?S:'Bad String') }