Hello,

Compro Prasad <compropra...@gmail.com> writes:

> #+BEGIN_SRC js
> var school = { schoolName: "MIT" }
> console.log(school.hasOwnProperty("schoolName")) // true
> #+END_SRC
>
> The execution of the above codeblock produces error because of the
> comment at the end.
>
> I realised it when I opened the temporary file org-babel was using to
> execute the code. The temporary file had the following js code:
>
> require('sys').print(require('sys').inspect(function(){var school = {
> schoolName: "MIT" }
> console.log(school.hasOwnProperty("schoolName")) // true}()));
>
> And there were no errors for sure when I removed the comment.
>
> Hope the bug gets fixed.

Fixed, hopefully. Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to