add = js2py.eval_js('function add(a,b){return a+b}') >>> add 'function add(a, b) { [python code] }' >>> add(1,2) + 3 >>> add.constructor
確定! 回上一頁