fix setting console documentation

This commit is contained in:
2025-02-17 21:10:08 -06:00
parent 8169e1df34
commit 75c7e304de

View File

@@ -1668,11 +1668,12 @@ actor[prosperon.DOC] = {
} }
// Expand console.doc to document the console object and missing methods // Expand console.doc to document the console object and missing methods
console.doc.doc = `The console object provides various logging, debugging, and output methods.` console[prosperon.DOC] = {}
console.doc.spam = `Output a spam-level message for very verbose logging.` console[prosperon.DOC][prosperon.DOC] = `The console object provides various logging, debugging, and output methods.`
console.doc.debug = `Output a debug-level message.` console[prosperon.DOC].spam = `Output a spam-level message for very verbose logging.`
console.doc.panic = `Output a panic-level message and exit the program.` console[prosperon.DOC].debug = `Output a debug-level message.`
console.doc.assert = `If the condition is false, print an error and panic.` console[prosperon.DOC].panic = `Output a panic-level message and exit the program.`
console[prosperon.DOC].assert = `If the condition is false, print an error and panic.`
// Document the Register object // Document the Register object
Register[prosperon.DOC] = { Register[prosperon.DOC] = {