Fetch DocType field value into a JS variable

I am familiar with
frm.add_fetch("[LINK_FIELD]", "[CORRESPONDING_SOURCE_FIELD]", "[TARGET_FIELD]");

And how it will pull data from another DocType, given a link field value.

The Question is…
How do I go about fetching the same value, but instead of setting the value for a target field, I set the value of a JavaScript variable my_js_variable for some calculations I wish to undertake? As soon as I am done with the calculations, depending on the result, will I then use:

cur_frm.set_value(‘[TARGET_FIELD]’, my_js_variable);

To set the value of the desired field.

Did you try frappe.model.get_value?

No! Thanks for the suggestion, will try!