What will the following code log?
const regex = /a+b*/; console.log(regex.test("aaabb"));
true
false
null
Error
This question is part of this quiz :