---
title: "Discussion on \"Lesson 36: Mastering JavaScript methods of primitives\" | Hashnode"
description: "Discussion on \"Lesson 36: Mastering JavaScript methods of primitives\". In JavaScript, primitives (like string, number, boolean, symbol, bigint) are not objects. But you can still call methods on them, like:\nlet str = \"hello\";\nconsole.log(str.toUpperCase()); // \"HELLO\"\n\n🔍 What’s happening behind the scenes?\nWhen you acc..."
url: "https://hashnode.com/posts/lesson-36-mastering-javascript-methods-of-primitives/6809d89f67d4c752b342ece7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Lesson 36: Mastering JavaScript methods of primitives](https://javascript-day-1.hashnode.dev/lesson-36-mastering-javascript-methods-of-primitives?utm_source=hashnode&utm_medium=feed)

In JavaScript, primitives (like string, number, boolean, symbol, bigint) are not objects. But you can still call methods on them, like: let str = "hello"; console.log(str.toUpperCase()); // "HELLO" 🔍 What’s happening behind the scenes? When you acc...

Apr 24, 2025 · 5 min read · javascript-day-1.hashnode.dev  
Read the article

-   [#primitive-datatypes](https://hashnode.com/tag/primitive-datatypes)

## Written by

[manoj ymk](https://hashnode.com/@manoj-ymk)

@manoj-ymk

  
[View profile](https://hashnode.com/@manoj-ymk)

“Daily Dev Notes — For You and Future Me”

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
