Reserved javascript keywords

I have a form field called location that I’m trying to dynamically populate but I’m getting this error

371-ed77cfb51d153fd5.js:12 Error while running logic

I think its because location is a built in javascript keyword, are there any workarounds for this?

This is the result when I do a console log on a regular element compared to one called location

Hey there, you can try to reference the field in the following manner instead:
console.log(feathery.fields["location"]);

That works, thank you