Learn Functional Programming by Building a Spreadsheet - Step 74

Tell us what’s happening:

I checked that this the correct solution according to step 75, but it won’t submit. Is this an issue with step 74 itself?

// User Editable Region

const highPrecedence = str => {
  const regex = /([\d.]+)([*\/])([\d.]+)/;
  return regex.test()
}

// User Editable Region

when you ask for help always give the link to the step please

this seems incomplete. If you provide the link, we can check more

.test() needs an argument, doesn’t it?

1 Like

As said, .test() is called on the regex and passed the string.

someRegx.test("someString");