const func1 = () => { return 1; }; const func2 = func1; const map = new Map(); map.set(func1, 'hello'); console.log(map.get(func1)); // #1 console.log(map.get(func2)); // #2 console.log(map.get(() => { return 1; })); // #3 console.log(map.get('hello')); // #4
'hello'
be output to the console?