Missing Parentheses on promise example in documentation