mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
455 B
455 B
date | id | title |
---|---|---|
2020-09-22 | dedc9e64-fe57-4c60-95b9-7df6201f4949 | JavaScript Named parameters |
Introduction
Introduced with ES6
Syntax
function selectEntries({ start=0, end=-1, step=1 } = {}) {
console.log(start)
console.log(end)
console.log(step)
}
selectEntries()