wiki/content/20200922162003-parameter_default_values.md

13 lines
163 B
Markdown
Raw Permalink Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-30 17:34:11 +00:00
date: 2020-09-22
2024-05-06 20:40:05 +00:00
id: d30a86d5-3788-47d0-a749-08e7edce2efd
title: JavaScript Parameter default values
---
# ES6
``` javascript
function foo(x=0, y=0) {
}
```