Developer Table

Data Type Reference Across Languages

Published September 8, 2026

How basic data types compare across common programming languages. See the Developer Tools guides for related tools and explanations.

Concept JavaScript Python Java
Whole/decimal number Number (one type for both) int / float int / double
Text String str String
True/false Boolean bool boolean
Ordered list Array list ArrayList
Key-value pairs Object dict HashMap
Absence of a value null / undefined None null

Explore the Developer Tools

See all Developer Tools for working with data across formats and languages.

Try it yourself

Developer Tools

Try our Developer Tools →

Frequently Asked Questions

Why does JavaScript have only one “Number” type?

JavaScript represents all numbers, whole and decimal, using the same 64-bit floating-point format, unlike languages that separate int and float into distinct types.

What’s the difference between null and undefined (or None)?

Conventions vary. JavaScript uses undefined for a variable that hasn’t been assigned and null for an intentional absence of value. Python uses a single None for both cases.

Explore More

Find the right tool, or browse Brekzy's other resources.