Created by: julesbou
For example if we want to push an item in an array only if this item exists:
item && arr.push(item)
(currently we get a eslint warning with the code above)
Created by: julesbou
For example if we want to push an item in an array only if this item exists:
item && arr.push(item)
(currently we get a eslint warning with the code above)