function isLikeAFuture(x) {
    return x.isResolved !== undefined && x.queue !== undefined && x.then !== undefined
}
function isLikeAFuture(x) {
    return x.isResolved !== undefined && x.queue !== undefined && x.then !== undefined
}
function isLikeAFuture ( x ) { return x . isResolved !== undefined && x . queue !== undefined && x . then !== undefined }
duck typing to determine if something is or isn't a future
duck typing to determine if something is or isn t a future