fork download
  1. /*
  2.   return chainable ?
  3. elems :
  4.  
  5. // Gets
  6. bulk ?
  7. fn.call( elems ) :
  8. length ? fn( elems[0], key ) : emptyGet;
  9. */
  10.  
  11. if( chainable ){
  12. return elems;
  13. }
  14.  
  15. else if( bulk ){
  16. return fn.call( elems );
  17. }
  18.  
  19. else if ( elem.length ){
  20. return fn( elems[0], key );
  21. }
  22. else {
  23. return emptyGet;
  24. }
  25.  
Runtime error #stdin #stdout #stderr 0.37s 381824KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
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.