|
@@ -42,7 +42,7 @@ console.log(format(`A boolean required, but %s given.`, 'Oct 18 2024 13:04:30'))
|
|
|
|
|
|
|
|
The module extends standard specifiers with additional
|
|
The module extends standard specifiers with additional
|
|
|
`%v` and `%l`, which wrap strings in quotes and output
|
|
`%v` and `%l`, which wrap strings in quotes and output
|
|
|
-the constructor name for objects.
|
|
|
|
|
|
|
+a constructor name for objects.
|
|
|
|
|
|
|
|
```js
|
|
```js
|
|
|
// import {format} from 'util';
|
|
// import {format} from 'util';
|