I'm trying to do something really stupid, but maybe it will be my careless mistake ... In short, how is it possible that in a simple function like this:
function limitFunc(name){
var domain=prompt(`Inserisci il dominio della funzione`);
var sx=domain-0.2;
var dx=domain+0.2;
console.log(`sx`,sx, `dx:`,dx);
//console.table(graph.limitCalculation(name, domain));
}
If I then write 1 with the prompt, the dx variable then calculated gives me a number multiplied by 10.
For example if I write 1: chrome console
Thanks for the help anyway