How can I extract line item property values using JavaScript?

Thanks for your response, I’ve just figured it out.

For anyone looking for the same thing, here’s what worked with me to retrieve the custom property value:

item["properties"] ? item["properties"].map(property => property.value).join(", ") : "",