I'm having some mental fengari -> js // js -> fengari corroboration issues:
in my browser console:
fengari.load('js=require("js"); local jq=js.global.jQuery; print(jq:find(\'body\'):html())')();
Gives me:
fengari-web.js:8 Uncaught [string "?"]:1: attempt to call a nil value (method 'html')
I'm having some mental fengari -> js // js -> fengari corroboration issues: in my browser console:
fengari.load('js=require("js"); local jq=js.global.jQuery; print(jq:find(\'body\'):html())')();
Gives me:
fengari-web.js:8 Uncaught [string "?"]:1: attempt to call a nil value (method 'html')
I'm not sure why?