---
title: "Discussion on \"Lifetimes: The \"Timeline Contract\"\" | Hashnode"
description: "Discussion on \"Lifetimes: The \"Timeline Contract\"\". Lifetimes are the most unique feature of Rust. You have probably never encountered them in JavaScript or TypeScript because the browser's Garbage Collector handles all of this automatically behind the scenes.\nThink of a Lifetime as a Timeline Contrac..."
url: "https://hashnode.com/posts/lifetimes-the-timeline-contract/69d4e0094650dac7a91de3bb"
---

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

Discussion

# [Lifetimes: The "Timeline Contract"](https://yafi.hashnode.dev/lifetimes-the-timeline-contract?utm_source=hashnode&utm_medium=feed)

Lifetimes are the most unique feature of Rust. You have probably never encountered them in JavaScript or TypeScript because the browser's Garbage Collector handles all of this automatically behind the scenes. Think of a Lifetime as a Timeline Contrac...

Apr 7 · 3 min read · yafi.hashnode.dev  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#lifetimes](https://hashnode.com/tag/lifetimes)
-   [#references](https://hashnode.com/tag/references)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim)

@yafialhakim · Jakarta, Indonesia

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

Frontend Engineer @MySkill.id

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
