State of function decompilation in Javascript

1 · Juriy Zaytsev · Jan. 14, 2014, midnight
State of function decompilation in Javascript It's always fun to see something described as "magic" in Javascript world. One such example I came across recently was AngularJS dependency injection mechanism. I've never been familiar with the concept, but seeing it in practice looked clever and convenient. Not very magical though. What is it about? In short: defining required "modules" via function parameters. Like so: {% gist kangax/e627faf9aeeb05a93498 %} Notice the $scope, $timeout, $http ide...