Advertisement
chrissharp123

Untitled

Apr 23rd, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (this_year.length) {
  2.     var circ_count = 0;
  3.     if (this_year[1]) {
  4.         circ_count = (Number(this_year[0].count()) + Number(this_year[1].count()));
  5.     } else if (Number(this_year[0].count())) {
  6.         circ_count = Number(this_year[0].count());
  7.     }
  8.     return circ_count;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement