MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/a6txtp/-/eby144i
r/javascript • u/chroner • Dec 16 '18
const print = console.log
I found my safe space.
156 comments sorted by
View all comments
Show parent comments
16
It works
I think you only need the .bind if console.log were to use this in its implementation
.bind
console.log
this
15 u/dvlsg Dec 17 '18 It used to need the bind. That was a recent-ish change, IIRC. 10 u/konaraddio Dec 17 '18 Oh, you're right, changes made in Chromium in 2016 2 u/imguralbumbot Dec 17 '18 Hi, I'm a bot for linking direct images of albums with only 1 imagehttps://i.imgur.com/YMlhou8.pngSource | Why? | Creator | ignoreme | deletthis
15
It used to need the bind. That was a recent-ish change, IIRC.
10 u/konaraddio Dec 17 '18 Oh, you're right, changes made in Chromium in 2016
10
Oh, you're right, changes made in Chromium in 2016
2
Hi, I'm a bot for linking direct images of albums with only 1 image
https://i.imgur.com/YMlhou8.png
Source | Why? | Creator | ignoreme | deletthis
16
u/konaraddio Dec 16 '18
It works
I think you only need the
.bindifconsole.logwere to usethisin its implementation