Mathematical calculation using firebase function
问题 Calculating addition, subtraction, multiplication, division and mod result using firebase function and getting undefined as a response instead of the calculated value. CODE const functions = require('firebase-functions'); exports.calculator = functions.https.onRequest((request, response) => { console.log("request.body.result.parameters: ", request.body.result.parameters); let params = request.body.result.parameters; var sum = parseFloat(params.number1 + params.number2); var sub = parseFloat