Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Method definition shorthand in ES6

let obj = {
  a(c, d) {},
  b(e, f) {},
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Method #definition #shorthand
ADD COMMENT
Topic
Name
2+3 =