Skip to content

Instantly share code, notes, and snippets.

@cyrilletuzi

cyrilletuzi/tree.js

Created Jan 29, 2017
Embed
What would you like to do?
/* jQuery */
someElement.parent();
someElement.children.eq(0);
/* JavaScript */
someElement.parentNode;
someElement.children[0];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment