mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix: some more console spec compliance (#10983)
This commit is contained in:
parent
8e4a70c7e9
commit
77ab2bee9f
2 changed files with 3 additions and 7 deletions
|
@ -1521,7 +1521,7 @@
|
|||
);
|
||||
};
|
||||
|
||||
dir = (obj, options = {}) => {
|
||||
dir = (obj = undefined, options = {}) => {
|
||||
this.#printFunc(
|
||||
inspectArgs([obj], { ...getConsoleInspectOptions(), ...options }) +
|
||||
"\n",
|
||||
|
@ -1594,7 +1594,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
table = (data, properties) => {
|
||||
table = (data = undefined, properties = undefined) => {
|
||||
if (properties !== undefined && !Array.isArray(properties)) {
|
||||
throw new Error(
|
||||
"The 'properties' argument must be of type Array. " +
|
||||
|
|
|
@ -144,11 +144,7 @@
|
|||
"console-label-conversion.any.html": true,
|
||||
"console-namespace-object-class-string.any.html": true,
|
||||
"console-tests-historical.any.html": true,
|
||||
"idlharness.any.html": [
|
||||
"console namespace: operation table(optional any, optional sequence<DOMString>)",
|
||||
"console namespace: operation dir(optional any, optional object?)",
|
||||
"console namespace: operation dirxml(any...)"
|
||||
]
|
||||
"idlharness.any.html": true
|
||||
},
|
||||
"dom": {
|
||||
"abort": {
|
||||
|
|
Loading…
Reference in a new issue