Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

240
Vistas
Transform a user input ecuation into an executable ecuation

I want to make an web page that solve a various ecuations (Linear or non-linear), so i have to make a function that gets a user input ecuation and transform it into an executable one . For exemple i have: <input type="text" id="ecuation">

and I get the value of this input:

const ecuation = document.querySelector("#ecuation");
let ecutionValue;
ecuation.addEventListener("input" , function(){
    ecuationValue = ecuation.value;
})

Now i want this to be transformed into an ecuation that can be used in a function , or to introduse it into a function.

For example like this:

function ecuation() {
   return //here must be returned the ecuation that user will enter on input
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda