---
id: 5d7925371398513549bb6395
title: Part 090
challengeType: 0
isBeta: true
---
## Description
In the global scope, define a function called `update` which takes `event` as argument. It should define a variable, `element`, setting it to `event.target`.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(/constupdate=\(?event\)?=>\{?constelement=event\.target;?\}?/.test(code.replace(/\s/g, "")));
```
## Challenge Seed
```html
```
### Before Test
### After Test
```html
```
## Solution