text: /**
   * Created by marija on 22.02.18.
   */
  
  
  
  var p1 = Promise.resolve(18);
  var p2 = Promise.reject(17);
  
  
  
  
  
  
  
  
  var callbackArguments = [];
  var argument1 = "^";
  var argument2 = ["EG","%m","Gx+","B2|=*","D6","qq","Z2y","&J","Ed"];
  var base_0 = p1
  var r_0= undefined
  try {
  r_0 = base_0.then(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/test466.json",JSON.stringify({"baseObjects":serialize([base_0]),"returnObjects":serialize([r_0]),"callbackArgs":callbackArguments}))
  },300)