Commit bb37133a authored by deuce's avatar deuce
Browse files

Add readln() documentation.

parent 845c08b8
......@@ -603,7 +603,10 @@ js_putenv(JSContext *cx, uintN argc, jsval *arglist)
static jsSyncMethodSpec js_global_functions[] = {
{"log", js_log, 1},
{"read", js_read, 1},
{"readln", js_readln, 1},
{"readln", js_readln, 0, JSTYPE_STRING, JSDOCSTR("[count]")
,JSDOCSTR("read a single line, up to count characters, from input stream")
{"write", js_write, 0},
{"writeln", js_writeln, 0},
{"print", js_writeln, 0},
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment