Page 1 of 1

Add Support for Javascript Map for ... of Iteration

Posted: Wed Jun 08, 2016 10:15 pm
by jaso9146
The following javascript is correct but marked as an error in Zend Studio 13.5. Please add for ... of structure support. Thanks!

Code: Select all

for (var key of myMap.keys()) {
  console.log(key);
}
Reference:
https://developer.mozilla.org/en-US/doc ... bjects/Map

Re: Add Support for Javascript Map for ... of Iteration

Posted: Thu Jun 09, 2016 12:05 am
by jaso9146
Actually, it appears that all map-related functions and structures still require support, not just the for ... of control structure.

Re: Add Support for Javascript Map for ... of Iteration

Posted: Tue Jun 14, 2016 2:22 pm
by kaloyan_r
We plan to focus on the JavaScript tooling for the next feature release and will address this issue.

Re: Add Support for Javascript Map for ... of Iteration

Posted: Tue Jul 05, 2016 9:09 am
by stij2324
And is there an rough eta for the next update?

Re: Add Support for Javascript Map for ... of Iteration

Posted: Tue Jul 05, 2016 10:20 am
by kaloyan_r
Zend Studio 14.0 is planned for Q4 2016.

Re: Add Support for Javascript Map for ... of Iteration

Posted: Thu Apr 20, 2017 12:27 am
by jaso9146
This issue has been resolved with the release of Zend Studio 13.6, which added an ES6 capable JS Parser.