If you have a COM server written in python, that returns a python array, it will get translated to a SAFEARRAY structure. It seems to work with VBscript. However, Javascript ("Jscript") doesn't seem to be able to deal with it directly. How can you return an array to Javascript from Python?