Add Support for Javascript Map for ... of Iteration

General discussion on Zend Studio

Moderator: natalia_b_zend

Add Support for Javascript Map for ... of Iteration

Postby jaso9146 on 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: 27
Joined: Mon Jan 12, 2015 8:58 pm

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

Postby jaso9146 on 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.
jaso9146
 
Posts: 27
Joined: Mon Jan 12, 2015 8:58 pm

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

Postby kaloyan_r on 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
User avatar
kaloyan_r
Zend Product Manager
 
Posts: 562
Joined: Thu May 23, 2013 12:40 pm

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

Postby stij2324 on Tue Jul 05, 2016 9:09 am

And is there an rough eta for the next update?
stij2324
 
Posts: 55
Joined: Fri Nov 06, 2015 11:42 pm

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

Postby kaloyan_r on Tue Jul 05, 2016 10:20 am

Zend Studio 14.0 is planned for Q4 2016.
Kaloyan Raev
Zend Studio Team
User avatar
kaloyan_r
Zend Product Manager
 
Posts: 562
Joined: Thu May 23, 2013 12:40 pm

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

Postby jaso9146 on 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.
jaso9146
 
Posts: 27
Joined: Mon Jan 12, 2015 8:58 pm


Return to Zend Studio

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests