From 16d3e2a4266d215d827eded6b48a2813913c39ab Mon Sep 17 00:00:00 2001
From: Svornost <11434-svornost@users.noreply.gitgud.io>
Date: Thu, 18 Jun 2020 02:19:31 -0700
Subject: [PATCH] simplify

---
 src/js/assayJS.js | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/js/assayJS.js b/src/js/assayJS.js
index 9b20c4f9c47..f06278122cf 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;
 		}
 	};
 
-- 
GitLab