var p = Promise.delay(1000).return("a"); // This is an M string
// This operation takes our M string, and a function, that has a string argument
// and that functions returns a promise on a number (a M number)
// and that whole operation is assigned to `p2` , in our case also an M number
var p2 = p.then(function(val){
return Promise.delay(100).return(3);
});