TGViewer
Diyorbek.dev | 👨🏻‍💻 Diyorbek.dev | 👨🏻‍💻 @diyorbekk_dev · 379 subscribers
Post #686 153
What are lambda or arrow functions?

1) Shorter Syntax:
Arrow functions offer a compact syntax compared to function expressions.

2) No "this" Binding:
Arrow functions inherit the this value from the enclosing scope, eliminating their own this context.

3) No "arguments" or "super" Binding:
Arrow functions do not have their own arguments or super references.

4) Best for Non-Method Functions:
Well-suited for standalone functions, not ideal for object methods.

5) Implicit Return:
If the function body is a single expression, curly braces and return can be omitted.

6) No "new.target" Binding:
Arrow functions lack a new.target binding and cannot be used as constructors.

@Diyorbekk_dev
More from @diyorbekk_dev
  1. Sep 15, 2026ChatGPT and Codex now support TSRX syntax Highlighting! #tsrx #OctaneJS
  2. Sep 14, 2026Tanner Linsleydan yangilik. Hozirgacha Tanstack Team Octane uchun katta yordam berib kelmo…
  3. Sep 10, 2026Octane Js Hozirda Instagramda bitta content topoldim. Nasib tez kunda òzim yangiliklar qòy…
  4. Sep 9, 2026Ajoyib yangiliklardan biri. Tez orada Open AI butunlay òtadi nasib OctaneJs’ga. Tarqatmay…
  5. Sep 5, 2026Yangi joyni ham tizimlashtirdik. Bir qancha yangi imkoniyatlar qo‘shildi va yangi funksiya…
  6. Sep 5, 2026photo post
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →