SY_Yoo
0
Q:

eslint disable

alert('foo'); // eslint-disable-line

// eslint-disable-next-line
alert('foo');
4
/* eslint-disable */
1
 /* eslint-disable */
3
const message = 'foo';
console.log(message); // eslint-disable-line no-console

// eslint-disable-next-line no-console
console.log(message);
0
/* eslint-disable */

alert('foo');

/* eslint-enable */
2
/* eslint-disable */

//Put this comment ath the top of the file
0
var thing = new Thing(); // eslint-disable-line no-use-before-define
thing.sayHello();

function Thing() {

     this.sayHello = function() { console.log("hello"); };

}
-1

New to Communities?

Join the community