Plato on Github
Report Home
src/traversing/var/siblings.js
Maintainability
74.66
Lines of code
17
Difficulty
12.00
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
define( function() { "use strict"; return function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; } );