---
id: 646d3da8501e15bcd355ba1d
title: Step 68
challengeType: 0
dashedName: step-68
---
# --description--
Now that you have your infix functions, you need a way to evaluate them. Declare an `infixEval` function which takes two parameters, `str` and `regex`. It should implicitly return the `.replace()` method of `str`, with `regex` and an empty callback as the arguments.
# --hints--
You should declare an `infixEval` variable.
```js
assert.match(code, /(?:var|let|const)\s+infixEval\s*=/);
```
You should use `const` to declare your `infixEval` variable.
```js
assert.match(code, /const\s+infixEval\s*=/);
```
Your `infixEval` variable should be a function.
```js
assert.isFunction(infixEval);
```
Your `infixEval` function should use arrow syntax.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(/);
```
Your `infixEval` function should have `str` as its first parameter.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str/);
```
Your `infixEval` function should have `regex` as its second parameter.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)/);
```
Your `infixEval` function should use an implicit return.
```js
assert.notMatch(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*\{/);
```
Your `infixEval` function should return the result of calling the `.replace()` method on `str`.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(/);
```
You should pass `regex` as the first argument to the `.replace()` method.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(\s*regex/);
```
You should pass an empty arrow function as the second argument to the `.replace()` method.
```js
assert.match(code, /const\s+infixEval\s*=\s*\(\s*str\s*,\s*regex\s*\)\s*=>\s*str\.replace\(\s*regex\s*,\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/);
```
# --seed--
## --seed-contents--
```html