Section “4.3.3.1 Alerts” in Scripting Help says “It takes one argument” when in the script in the next section has two:
(alert "" “No text is selected.”)
Thank you for highlighting this. I’ve updated the documentation file and this will be fixed in the upcoming release.