Open obrin opened 7 years ago
defs - there's no reason you should be doing new primitive()
at all, usually it's much slower than just doing []
or {}
etc
Would no-new
rule error on: new Promise()
?
Good question, I'm not sure. But we should either be assigning a new Promise to a variable or returning it within a function either ways. Not sure if the later works.