From 2a3b94f275f05864e592419a6157aed0ec616dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kosson?= Date: Sun, 1 Mar 2026 08:03:50 +0100 Subject: [PATCH] Fix accessing properties defined by a bound function --- Jint/Native/Object/ObjectInstance.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jint/Native/Object/ObjectInstance.cs b/Jint/Native/Object/ObjectInstance.cs index 04cf99705f..b843330a35 100644 --- a/Jint/Native/Object/ObjectInstance.cs +++ b/Jint/Native/Object/ObjectInstance.cs @@ -419,6 +419,8 @@ private static JsValue UnwrapFromGetter(PropertyDescriptor desc, JsValue thisObj return Undefined; } + if (getter is Function.BindFunction bindFunction) return bindFunction._engine.Call(bindFunction, thisObject); + var functionInstance = (Function.Function) getter; return functionInstance._engine.Call(functionInstance, thisObject); }