var
d = document,
q = 'querySelector',
A = q + 'All',
P = 'parentNode',
e = 'Element',
s = 'Sibling',
p = 'previous' + e + s,
n = 'next' + e + s,
c = 'Child',
f = 'first' + e + c,
l = 'last' + e + c,
a = 'append' + c,
each = 'forEach';
document.querySelectorAll( '#test a' ).forEach( function( link ){ return link.search; } );
d[A]( '#test a' )[each]( a => a.search );