# Dynamic Typing

*noun*

say it: **“dy-NAM-ik TYPE-ing”** **/daɪˈnæmɪk ˈtaɪpɪŋ/**

Variables not having a fixed type, so one variable can hold a number now and text later.

## What is **Dynamic Typing**?

**Dynamic Typing** — Values have types but variables don't, so one variable can hold a number now and text later, and type mistakes show up only when that line runs. JavaScript and Python are dynamically typed.

```javascript
let pages = 412;
pages = "many";          // allowed
console.log(typeof pages); // string
```

## In a sentence

- “With **dynamic typing**, JavaScript let pages hold 412 and then "many".”

Level: Apprentice · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/dynamic-typing
