How should we change the following script to convert the input into the desired data type? Write the full syntax for the second line.
const input = require('sync-input');
let number = input("Enter a number: ");How should we change the following script to convert the input into the desired data type? Write the full syntax for the second line.
const input = require('sync-input');
let number = input("Enter a number: ");Create a free account to access the full topic