Example using callback :
Parse.User.logIn("user", "pass", {
 success: function(user) {
  query.find({
   success: function(results) {
    results[0].save({ key: value }, {
     success: function(result) {
      // the object was saved.
     }
    });
   }
  });
 }
});
Example using promise :
Parse.User.logIn("user", "pass").then(function(user) {
  return query.find();
}).then(function(results) {
  return results[0].save({ key: value });
}).then(function(result) {
  // the object was saved.
});
Is promise used only for code readability or is there any other performance impact on the execution of code because both are doing the same thing.
