On 2018-06-22 19:46, Steven D'Aprano wrote:
- the inexplicable (to me) decision to say "for x of array" instead of
   "for x in array";

Believe JavaScript has for…in, but as usual in the language it is broken and they needed a few more tries to get it right. for…of is the latest version and works as expected.

-Mike

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to