# (JUCE 8) QuickJS implementation missing methods

**URL:** <https://forum.juce.com/t/juce-8-quickjs-implementation-missing-methods/61972>\
**Category:** General JUCE discussion\
**Created:** [June 25, 2024, 6:40am UTC](https://forum.juce.com/t/juce-8-quickjs-implementation-missing-methods/61972 "2024-06-25T06:40:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benkuper](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/benkuper/32/899_2.png) [@benkuper](https://forum.juce.com/u/benkuper)\
**Post date:** [June 25, 2024, 6:40am UTC](https://forum.juce.com/t/juce-8-quickjs-implementation-missing-methods/61972/1 "2024-06-25T06:40:12Z")

</div>

Hello,  
I never now whether I should post on Github or here… Github seems more appropriate but way less reactive.

I posted on gh what I think is a pretty blocking issue for anyone using scripts :  
[[Bug]: (JUCE8) Can’t return an object containing methods in Javascript calls · Issue #1401 · juce-framework/JUCE (github.com)](https://github.com/juce-framework/JUCE/issues/1401)

Basically : has anyone an idea on how to pass on objects containing methods as result of native functions called from JS ?

Found a similar post here :  
[JUCE 8 JavascriptEngine DynamicObject::hasMethod/invokeMethod Broken - General JUCE discussion - JUCE](https://forum.juce.com/t/juce-8-javascriptengine-dynamicobject-hasmethod-invokemethod-broken/61904)  
but not sure it’s talking about the same thing since they have custom overriding code

EDIT : Found this one which indeed is the same problem :  
[JUCE 8 JavascriptEngine var::isMethod() Incompatibility - General JUCE discussion - JUCE](https://forum.juce.com/t/juce-8-javascriptengine-var-ismethod-incompatibility/61903)

EDIT 2 : My take is that choc::Value would need to be updated to support functions. Otherwise, a lot needs to be done in to work around it and the data flow would not be as elegant and consistent as now
