Determine the output of the given code snippet.
const REGEX = /a/g;
REGEX.lastIndex = 2;
const match = REGEX.exec('lala');
You can conduct remote technical skills assessments with 4 easy steps with iMocha:
Assess & hire job-fit candidate faster
Reduce hiring time up to 40%
Reduce 85% of candidate filtration time
Assess & map skills level of your existing employees
Use our live coding interview platform ,if you want to assess programming knowledge of the developer in real-time coding environment while interacting with the candidate.