Use |for-of| since closure compiler v20141023 supports |break| and |continue| in |for-of| statement.