Commit e8028fb
cod1k
Optimize method retrieval with Reflect.get for clarity
Replaced Object.getOwnPropertyDescriptor with Reflect.get to simplify and streamline method retrieval logic. This improves code readability and reduces unnecessary complexity in accessing prototype methods. No changes to functionality or behavior.1 parent 3398466 commit e8028fb
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 255 | + | |
260 | 256 | | |
261 | 257 | | |
262 | 258 | | |
| |||
0 commit comments