4 ms·
jQuery does hide core Javascript concepts. For example, the for loop in jQuery it is totally abstracted out into $.each.
by addflip 13y ago
jQuery does hide core Javascript concepts. For example, the for loop in jQuery it is totally abstracted out into $.each.
- fantnn 13y agoThat's more so a core programming concept than a js concept.
- straws 13y agoThis is an example of one of many functional abstractions that jQuery (carefully) adds to Javascript. There are great functional examples in Eloquent Javascript, that show you how to go from low-level loops to high-level abstractions. That's EJ's triumph: it guides you through the mental leap you have to make to go from for loops, to useful enumerations like maps and folds and the like.