Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

named parameters

function selectEntries({start=0, end=-1, step=1}) {
  return {start, end, step};
}
Source by exploringjs.com #
 
PREVIOUS NEXT
Tagged: #named #parameters
ADD COMMENT
Topic
Name
6+3 =