---
title: "Sarathkumar (@SarathWrites) | Hashnode"
description: "learningByDoing. Read the latest articles by Sarathkumar on Hashnode."
url: "https://hashnode.com/@SarathWrites"
---

@SarathWrites

# Sarathkumar

@SarathWrites · Joined February 2023

learningByDoing

### [TypeError vs ReferenceError in JavaScript](https://sarathwrites.hashnode.dev/typeerror-vs-referenceerror-in-javascript?utm_source=hashnode&utm_medium=feed)

TypeError Type error occurs when the operation you are trying to perform does not suit the variable’s data type. For Example, you can’t make integers uppercase: In the above example, we have declared the variable num as a number data type. Attemptin...

1 min read · [sarathwrites.hashnode.dev](https://sarathwrites.hashnode.dev/typeerror-vs-referenceerror-in-javascript?utm_source=hashnode&utm_medium=feed)

[Feb 16, 2023](https://hashnode.com/posts/typeerror-vs-referenceerror-in-javascript/63edbcfccc5f42e903acc256)
