[docs] Add parens to defeat ASI in example
[docs] Add parens to defeat ASI in example

Fixes #1996.

(cherry picked from commit e39a28c175bd54c8ace66b5b54c8995987591f6c)

mtsyganov/react,odysseyscience/React-IE-Alt,odysseyscience/React-IE-Alt,mtsyganov/react,odysseyscience/React-IE-Alt,mtsyganov/react,odysseyscience/React-IE-Alt,mtsyganov/react,odysseyscience/React-IE-Alt