From 4f69871c17bbc14d947be5447aedb94be86fa563 Mon Sep 17 00:00:00 2001
From: Ryan Dahl
Date: Sun, 27 Sep 2009 12:33:44 +0200
Subject: [PATCH] Add node.inspect() and deprecate p().
---
doc/api.html | 6 +++---
doc/api.txt | 4 ++--
doc/node.1 | 11 +++++------
lib/repl.js | 43 +------------------------------------------
src/util.js | 33 ++++++++++++++++++++++++++-------
5 files changed, 37 insertions(+), 60 deletions(-)
diff --git a/doc/api.html b/doc/api.html
index de644d6b9b..c303993214 100644
--- a/doc/api.html
+++ b/doc/api.html
@@ -84,11 +84,11 @@ output the string immediately to stdout.
-p(object)
+node.inspect(object)
-Print the JSON representation of object to the standard output.
+Return a string representation of the object. (For debugging.)
@@ -1944,7 +1944,7 @@ init (Handle<Object> target)