Javascript – why num1+num2 is not calculate
var read = require("readline-sync") var a = read.question("Enter Two Numbers") var b = read.question("") function hello(num1,num2){ var sum = num1 + num2 return(sum) } var val = hello(a,b) console.log(val) terminal node '.all functions.js' Enter Two Numbers34 34 3434 Expected answer…