Revert "console: use consolePropAttributes for k-bind properties in c… · nodejs/node@a8eac78 (original) (raw)

`@@ -181,13 +181,15 @@ Console.prototype[kBindProperties] = function(ignoreErrors, colorMode) {

`

181

181

` ...consolePropAttributes,

`

182

182

`value: Boolean(ignoreErrors)

`

183

183

`},

`

184

``

`-

'_times': { ...consolePropAttributes, value: new Map() },

`

185

``

`-

// Corresponds to https://console.spec.whatwg.org/#count-map

`

186

``

`-

[kCounts]: { ...consolePropAttributes, value: new Map() },

`

187

``

`-

[kColorMode]: { ...consolePropAttributes, value: colorMode },

`

188

``

`-

[kIsConsole]: { ...consolePropAttributes, value: true },

`

189

``

`-

[kGroupIndent]: { ...consolePropAttributes, value: '' }

`

``

184

`+

'_times': { ...consolePropAttributes, value: new Map() }

`

190

185

`});

`

``

186

+

``

187

`+

// TODO(joyeecheung): use consolePropAttributes for these

`

``

188

`+

// Corresponds to https://console.spec.whatwg.org/#count-map

`

``

189

`+

this[kCounts] = new Map();

`

``

190

`+

this[kColorMode] = colorMode;

`

``

191

`+

this[kIsConsole] = true;

`

``

192

`+

this[kGroupIndent] = '';

`

191

193

`};

`

192

194

``

193

195

`` // Make a function that can serve as the callback passed to stream.write().

``