---
id: 645c80ee8b65917a24afcb14
title: Step 38
challengeType: 0
dashedName: step-38
---
# --description--
Create a `while` loop that runs as long as `input` is greater than `0`. Inside the loop, assign `0` to `input` for now.
Note: Be careful not to trigger the `decimalToBinary` function before you set `input` equal to `0` inside the loop. Otherwise, you could cause an infinite loop.
# --hints--
You should create a `while` loop that runs as long as `input` is greater than `0`.
```js
assert.match(String(decimalToBinary), /while\s*\(\s*input\s*>\s*0\s*\)\s*\{/);
```
Inside the loop, you should assign `0` to `input`.
```js
assert.match(String(decimalToBinary), /while\s*\([\s\S]+input\s*=\s*0\s*;?\s*\}?/);
```
# --seed--
## --seed-contents--
```html