Have updateRow function chose field to update dynamically

I did console.log(typeof salesforceFieldNameVar ); and that showed that it’s a string. And it’s coming from a string field on a UI only model so I don’t see how it could be anything else.