---
title: "Discussion on \"Typescript\" | Hashnode"
description: "Discussion on \"Typescript\". Optional Parameters\nUse a question mark (?) for optional parameters.\nfunction greetWithTitle(title: string, name?: string): string {\n   return `Hello, ${title}${name ? ' ' + name : ''}!`;\n}\n\nArrow Functions\nArrow functions are concise. For a single s..."
url: "https://hashnode.com/posts/typescript/66fb4089ab2bb05ff6dc0410"
---

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

Discussion

# [Typescript](https://sheheryaraltaf.hashnode.dev/typescript?utm_source=hashnode&utm_medium=feed)

Optional Parameters Use a question mark (?) for optional parameters. function greetWithTitle(title: string, name?: string): string { return \`Hello, ${title}${name ? ' ' + name : ''}!\`; } Arrow Functions Arrow functions are concise. For a single s...

Oct 1, 2024 · 1 min read · sheheryaraltaf.hashnode.dev  
Read the article

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

## Written by

[sheheryar altaf](https://hashnode.com/@sheheryaraltaf)

@sheheryaraltaf · Lahore,Pakistan

  
[View profile](https://hashnode.com/@sheheryaraltaf)

BSCS Student at COMSATS 🎓 | Databases | SQL, Python, Linux Enthusiast

Hello, I'm Sheheryar Altaf, a BSCS student at COMSATS University Islamabad. Passionate about computer science, I'm dedicated to mastering Object-Oriented Programming (OOP), Data Structures and Algorithms (DSA), and databases. I have practical experience in projects like the Voting Management System database, where I've applied these skills hands-on. I'm eager to tackle new challenges and continuously expand my knowledge and skills in computer science. Here's to excelling in my studies and embracing endless possibilities!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
