a zip code crypto-currency system good for red ONLY

12345678910111213141516171819
  1. // sigh... life is hard
  2. if (!global.console) {
  3. console = {}
  4. }
  5. var fns = ['log', 'error', 'trace'];
  6. for (var i=0 ; i<fns.length ; ++i) {
  7. var fn = fns[i];
  8. if (!console[fn]) {
  9. console[fn] = function() {};
  10. }
  11. }
  12. if (!Array.isArray) {
  13. Array.isArray = function(arr) {
  14. return Object.prototype.toString.call(arr) === '[object Array]';
  15. }
  16. }