0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -05:00
This commit is contained in:
Phil Hawksworth 2025-02-13 12:33:13 +00:00
parent 918e269369
commit e5c04cc166
2 changed files with 15 additions and 15 deletions

View file

@ -462,19 +462,19 @@ type BufferSource = ArrayBufferView | ArrayBuffer;
* A global console object that provides methods for logging, debugging, and error reporting. * A global console object that provides methods for logging, debugging, and error reporting.
* The console object provides access to the browser's or runtime's debugging console functionality. * The console object provides access to the browser's or runtime's debugging console functionality.
* It allows developers to output text and data for debugging purposes. * It allows developers to output text and data for debugging purposes.
* *
* @example * @example
* ```typescript * ```typescript
* console.log("Hello, world!"); * console.log("Hello, world!");
* console.error("An error occurred"); * console.error("An error occurred");
* console.warn("Warning message"); * console.warn("Warning message");
* console.debug("Debug information"); * console.debug("Debug information");
* ``` * ```
* *
* @see https://developer.mozilla.org/en-US/docs/Web/API/console * @see https://developer.mozilla.org/en-US/docs/Web/API/console
* *
* @category I/O * @category I/O
*/ */
declare var console: Console; declare var console: Console;
/** @category Events */ /** @category Events */

View file

@ -10,9 +10,9 @@
* as well as other utility methods for debugging and inspecting code. * as well as other utility methods for debugging and inspecting code.
* Methods include logging, debugging, and timing functionality. * Methods include logging, debugging, and timing functionality.
* @see https://developer.mozilla.org/en-US/docs/Web/API/console * @see https://developer.mozilla.org/en-US/docs/Web/API/console
* *
* @category I/O * @category I/O
*/ */
interface Console { interface Console {
/** /**
* Tests that an expression is true. If not, logs an error message * Tests that an expression is true. If not, logs an error message