Add Support for Javascript Map for ... of Iteration

General discussion on Zend Studio
Post Reply
jaso9146
Posts: 29
Joined: Mon Jan 12, 2015 8:58 pm

Add Support for Javascript Map for ... of Iteration

Post by jaso9146 » Wed Jun 08, 2016 10:15 pm

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

jaso9146
Posts: 29
Joined: Mon Jan 12, 2015 8:58 pm

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

Post by jaso9146 » Thu Jun 09, 2016 12:05 am

Actually, it appears that all map-related functions and structures still require support, not just the for ... of control structure.

User avatar
kaloyan_r
Zend Product Manager
Posts: 582
Joined: Thu May 23, 2013 12:40 pm

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

Post by kaloyan_r » Tue Jun 14, 2016 2:22 pm

We plan to focus on the JavaScript tooling for the next feature release and will address this issue.
Kaloyan Raev
Zend Studio Team

stij2324
Posts: 55
Joined: Fri Nov 06, 2015 11:42 pm

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

Post by stij2324 » Tue Jul 05, 2016 9:09 am

And is there an rough eta for the next update?

User avatar
kaloyan_r
Zend Product Manager
Posts: 582
Joined: Thu May 23, 2013 12:40 pm

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

Post by kaloyan_r » Tue Jul 05, 2016 10:20 am

Zend Studio 14.0 is planned for Q4 2016.
Kaloyan Raev
Zend Studio Team

jaso9146
Posts: 29
Joined: Mon Jan 12, 2015 8:58 pm

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

Post by jaso9146 » Thu Apr 20, 2017 12:27 am

This issue has been resolved with the release of Zend Studio 13.6, which added an ES6 capable JS Parser.

Post Reply