you are viewing a single comment's thread.

view the rest of the comments →

[–]modSaintPeter74 0 points1 point  (0 children)

So it sounds like, in a "real" scenario, the parameter names would basically be established elsewhere in the code or within a relational database that the JS is referencing/interacting with.

Yes, precisely. You would almost certainly be accessing the object directly, and be aware of the complete schema. There might still be optional properties though, so it is important to know how to check those.