Closed
Description
- Version: 12.20.0
- Platform: OSX
- Subsystem:
What steps will reproduce the bug?
The cloneDeep from lodash 4.17.20 works fine for console object on 12.19.0, 12.19.1 and broken from 12.20.0.
var _ = require('lodash');
console.log(_.cloneDeep(console));
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
{
log: [Function: log],
warn: [Function: warn],
dir: [Function: dir],
time: [Function: time],
timeEnd: [Function: timeEnd],
timeLog: [Function: timeLog],
trace: [Function: trace],
assert: [Function: assert],
clear: [Function: clear],
count: [Function: count],
countReset: [Function: countReset],
group: [Function: group],
groupEnd: [Function: groupEnd],
table: [Function: table],
debug: [Function: debug],
info: [Function: info],
dirxml: [Function: dirxml],
error: [Function: error],
groupCollapsed: [Function: groupCollapsed],
Console: [Function: Console],
profile: [Function: profile],
profileEnd: [Function: profileEnd],
timeStamp: [Function: timeStamp],
context: [Function: context]
}
What do you see instead?
{}