/*
return chainable ?
elems :
// Gets
bulk ?
fn.call( elems ) :
length ? fn( elems[0], key ) : emptyGet;
*/
if( chainable ){
return elems;
}
else if( bulk ){
return fn.call( elems );
}
else if ( elem.length ){
return fn( elems[0], key );
}
else {
return emptyGet;
}
LyoKICAgIAlyZXR1cm4gY2hhaW5hYmxlID8KCQkJZWxlbXMgOgoKCQkJLy8gR2V0cwoJCQlidWxrID8KCQkJCWZuLmNhbGwoIGVsZW1zICkgOgoJCQkJbGVuZ3RoID8gZm4oIGVsZW1zWzBdLCBrZXkgKSA6IGVtcHR5R2V0OwoqLyAgICAKICAgIAogICAgaWYoIGNoYWluYWJsZSApewogICAgICAgIHJldHVybiBlbGVtczsKICAgIH0gCiAgICAKICAgIGVsc2UgaWYoIGJ1bGsgKXsKICAgICAgICByZXR1cm4gZm4uY2FsbCggZWxlbXMgKTsKICAgIH0KCiAgICBlbHNlIGlmICggZWxlbS5sZW5ndGggKXsKICAgICAgICByZXR1cm4gZm4oIGVsZW1zWzBdLCBrZXkgKTsKICAgIH0KICAgIGVsc2UgewogICAgICAgIHJldHVybiBlbXB0eUdldDsKICAgIH0K
js: "prog.js", line 12: invalid return
js: return elems;
js: ..............^
js: "prog.js", line 16: invalid return
js: return fn.call( elems );
js: ..............^
js: "prog.js", line 20: invalid return
js: return fn( elems[0], key );
js: ..............^
js: "prog.js", line 23: invalid return
js: return emptyGet;
js: ..............^
js: "prog.js", line 1: Compilation produced 4 syntax errors.