Quartz 5

Home

❯

Org-roam

❯

JavaScript Named parameters

JavaScript Named parameters

Sep 22, 20201 min read

Introduction

Introduced with ES6

Syntax

function selectEntries({ start=0, end=-1, step=1 } = {}) {
    console.log(start)
    console.log(end)
    console.log(step)
}
 
selectEntries()

See also

  • Rest Operator (…) in Object Destructuring

Graph View

  • Introduction
  • Syntax
  • See also

Backlinks

  • ES6
  • JavaScript
  • PHP Named Arguments
  • Rest Operator (...) in Object Destructuring

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community