Skip to content

Commit 4d9dc6c

Browse files
committed
[jQuery] label the faster and slower lookup
1 parent 9fb45df commit 4d9dc6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,10 +1194,10 @@
11941194
// good
11951195
$('.sidebar > ul').hide();
11961196
1197-
// good
1197+
// good (slower)
11981198
$sidebar.find('ul');
11991199
1200-
// good
1200+
// good (faster)
12011201
$($sidebar[0]).find('ul');
12021202
```
12031203

0 commit comments

Comments
 (0)