---
id: 646d3ee7b17ae3bf48610033
title: Step 71
challengeType: 0
dashedName: step-71
---
# --description--
`infixToFunction[operator]` returns a function. Call that function directly, passing `arg1` and `arg2` as the arguments.
# --hints--
Your callback function should return the result of calling `infixToFunction[operator]`.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(\s*regex\s*,\s*\(\s*_match\s*,\s*arg1\s*,\s*operator\s*,\s*arg2\s*\)\s*=>\s*infixToFunction\s*\[\s*operator\s*\]\s*\(/);
```
You should pass `arg1` as the first argument to your `infixToFunction[operator]` call.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(\s*regex\s*,\s*\(\s*_match\s*,\s*arg1\s*,\s*operator\s*,\s*arg2\s*\)\s*=>\s*infixToFunction\s*\[\s*operator\s*\]\s*\(\s*arg1/);
```
You should pass `arg2` as the second argument to your `infixToFunction[operator]` call.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(\s*regex\s*,\s*\(\s*_match\s*,\s*arg1\s*,\s*operator\s*,\s*arg2\s*\)\s*=>\s*infixToFunction\s*\[\s*operator\s*\]\s*\(\s*arg1\s*,\s*arg2\s*\)\s*\)/);
```
# --seed--
## --seed-contents--
```html