Variable: org-babel-js-function-wrapper

org-babel-js-function-wrapper is a variable defined in ob-js.el.gz.

Value

"require('process').stdout.write(require('util').inspect(function(){%s\n}()));"

Documentation

Javascript code to print value of body.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-js.el.gz
(defvar org-babel-js-function-wrapper
  ;; Note that newline after %s - it makes sure that closing
  ;; parenthesis are not shadowed if the last line of the body is a
  ;; line comment.
  "require('process').stdout.write(require('util').inspect(function(){%s\n}()));"
  "Javascript code to print value of body.")