Question #97

Author: admin
tags: JavaScript  
const files = [
  'c:\docs\a1.pdf',
  'c:\docs\a1.pdf',
  'c:\docs\pdf\a1.pdf',
  'c:\docs\pdf\a2.pdf',
  'c:\docs\pdf\a3.pdf',
];

let counter = 0;

files.forEach((filePath) => {
  if (filePath.length > 15) counter++;
});

console.log(counter); // ??
What will the console output be?
0
2
3
5
15
The backslash \ is the escape character in JS string literals.
Rate the difficulty of the question:
easyhard