Global

Methods


ask(question, callback)

ask is helper function to get input from user using stdin
Parameters:
Name Type Description
question string To display what input needs from user
callback function After user enter input it will be catched

askForDetails()

Our app will start from this function `askForDetails`

printDetails(name, age)

To print person details
Parameters:
Name Type Description
name string user entered name
age int user entered age