import logo from './logo.svg'; import {useEffect,useState} from 'react'; import './App.css'; function Equation() { const [equation,setEquation]=useState([[6],"+"]) function SolveEquation(eq) { var newEq = [...eq] //Parenthesis. for (var i=0;i

{SolveEquation(equation)}

} function App() { const fieldData = { data1:84, data2:49, data3:3.5, data4:67 } return (

); } export default App;