From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: JavaScript and babel Date: Thu, 7 Jun 2012 08:17:15 +0200 Message-ID: References: <91265ACE-7C88-45E5-8BFD-6D937C2A7251@polytechnique.org> Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScW23-0005z0-Mi for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 02:17:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScW22-0006VN-1S for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 02:17:19 -0400 Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:9356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScW21-0006VJ-Qy for emacs-orgmode@gnu.org; Thu, 07 Jun 2012 02:17:17 -0400 In-Reply-To: <91265ACE-7C88-45E5-8BFD-6D937C2A7251@polytechnique.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Mode On 7 juin 2012, at 07:25, Alan Schmitt wrote: > Hello, >=20 > 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: >=20 > #+begin_src js > 1; > #+end_src >=20 > #+RESULTS: > : undefined >=20 > Could someone give an example of the syntax to use? I found out I need to use "console.log" to get information out. Alan=