How do I get the value of the text from the example below?
Q.js has an example on using Deferred:
var deferred = Q.defer(); FS.readFile(\"foo.txt\", \"ut
deferred.promise.then(function (text) { console.log(text); // Bingo! });