Pattern: Use of string-based setInterval
Issue: -
Do not use the version of setInterval
that accepts code as a string
argument. However, it is acceptable to use the version of setInterval
where a direct reference to a function is provided as the callback
argument.