emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] JavaScript and babel


From: Alan Schmitt
Subject: Re: [O] JavaScript and babel
Date: Thu, 7 Jun 2012 08:17:15 +0200

On 7 juin 2012, at 07:25, Alan Schmitt wrote:

> Hello,
> 
> I'm writing a presentation about JavaScript and I was trying to get some code 
> to run. Unfortunately whatever I try, I get "undefined" as the results, as in 
> the following:
> 
> #+begin_src js
> 1;
> #+end_src
> 
> #+RESULTS:
> : undefined
> 
> Could someone give an example of the syntax to use?

I found out I need to use "console.log" to get information out.

Alan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]