Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 18th, 2012  |  syntax: None  |  size: 0.15 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. exports.sum = sum;
  2. exports.reverse = reverse;
  3.  
  4. function sum(a, b) {
  5.     return a + b;
  6. }
  7.  
  8. function reverse(a) {
  9.     return a.split('').reverse().join('');
  10. }