You can use both ways, however, there is difference in their syntax (语法):for example:When you use "beware of the dog", it is just an ordinary sentence like "you shall beware of the dog".However, when you use "beware the dog", it is an imperative mood (祈使 or 命令语气).
beware的用法?beware可为及物动词 亦可为不及物动词请问要如何区分它们的用法 像: beware of str