text: /**
   * Created by marija on 22.02.18.
   */
  
  
  
  var p1 = Promise.resolve(18);
  var p2 = Promise.reject(17);
  
  
  
  
  
  
  
  
  var callbackArguments = [];
  var argument1 = 213;
  var argument2 = {"655":"g","1.2693831212281805e+308":1.6268948348570864e+307,"":"","1.588713230203726e+307":"","1.6345273480851713e+308":"","WGTD":9.680020961605545e+307};
  var base_0 = p2
  var r_0= undefined
  try {
  r_0 = base_0.catch(argument1,argument2)
  }
  catch(e) {
  r_0= e.message
  }
  function serialize(array){
  return array.map(function(a){
  if (a === null || a == undefined) return a;
  var name = a.constructor.name;
  if (name==='Object' || name=='Boolean'|| name=='Array'||name=='Number'||name=='String')
  return JSON.stringify(a);
  return name;
   });
  }
  setTimeout(function(){
  require("fs").writeFileSync("./experiments/promises/promiseRandom/test964.json",JSON.stringify({"baseObjects":serialize([base_0]),"returnObjects":serialize([r_0]),"callbackArgs":callbackArguments}))
  },300)