diff --git a/src/js/assayJS.js b/src/js/assayJS.js index 9b20c4f9c475e1386a1d4e5f402ccec646cd02f1..f06278122cf945116a72efc3ae17497ea3089749 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -403,15 +403,12 @@ globalThis.getPronouns = function(obj) { globalThis.getSpokenPronouns = function(obj, spokenBy) { const lispHandler = { get: function(obj, prop) { - if (prop in obj) { - const result = obj[prop]; - if (typeof result === "string" && lisps) { - return lispReplace(result); - } else { - return result; - } + const result = obj[prop]; + if (typeof result === "string" && lisps) { + return lispReplace(result); + } else { + return result; } - return undefined; } };