Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

avoid no-param-reassign when setting a property

/* eslint-disable no-param-reassign */
function (el) {
  el.expando = {};
}
/* eslint-enable no-param-reassign */
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #avoid #setting #property
ADD COMMENT
Topic
Name
3+1 =