|
|
|
|
|
by danso
3109 days ago
|
|
It's been while since I've had to code heavily in JS (when ES6 required transpiling from Babel), so I'm fuzzy on the syntax. But what does the underscore and the use of the fat arrow mean in this context? https://github.com/Chalarangelo/30-seconds-of-code#current-u... > Use window.location.href to get current URL. var currentUrl = _ => window.location.href;
|
|