0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -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.
* 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.
*
* @example
* ```typescript
* console.log("Hello, world!");
* console.error("An error occurred");
* console.warn("Warning message");
* console.debug("Debug information");
* ```
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/console
*
* @category I/O
*/
*
* @example
* ```typescript
* console.log("Hello, world!");
* console.error("An error occurred");
* console.warn("Warning message");
* console.debug("Debug information");
* ```
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/console
*
* @category I/O
*/
declare var console: Console;
/** @category Events */

View file

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