This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258657 - Support rest parameters
Summary: Support rest parameters
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks: 242387
  Show dependency tree
 
Reported: 2016-04-05 12:39 UTC by Petr Pisl
Modified: 2016-06-15 05:32 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2016-04-05 12:39:27 UTC
Ecma 6 script introduces rest parameters:

https://developer.mozilla.org/cs/docs/Web/JavaScript/Reference/Functions/rest_parameters

The rest parameters is an instance of Array. NetBeans should offer code completion as for Array (methods like pop, map, length ...)