File: default-parameter.js

package info (click to toggle)
node-escodegen 1.11.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 14,528 kB
  • sloc: makefile: 23; sh: 13
file content (11 lines) | stat: -rw-r--r-- 118 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
function a(p=20) {
}

function b(p, q=30) {
}

function c(p, q=30, ...r) {
}

(p = 20) => { };
(p = 20, ...q) => { };