1.5 Tuples | TypeScript for Javascript Developers

preview_player
Показать описание

In this series, Arnav takes you through the basics of #TypeScript. If you're a #JavaScript developer, then this is exactly the tutorial you have been looking for to quickly and efficiently everything new in TypeScript and how to leverage all the TypeScript concepts to make a better #NodeJS or #Frontend project !
-
------------------------- About Coding Blocks ----------------------------

Coding Blocks, India's best Programming and software training institute offers courses like C++ and Java, Data Structures and Algorithms, Web and Android Development(Java and Kotlin), Competitive Programming, Coding Interview Preparation, Machine Learning, AI and more. Registration open for Online and Offline Coding classes. Take advantage of the professionals who have worked with bigwigs like Sony, Cyanogen, Micromax.

#Programming #Coding #Learning

Stay Connected:-

Hit the Like, Share, & Subscribe button if you liked the video! You can comment your thoughts, questions, and doubts related to the video in the comment section & our mentors/counselors shall revert back!

Рекомендации по теме
Комментарии
Автор

Throughout the first 2/3 of the video, those are not really interpreted by TS as tuples, but rather as just arrays. Remember, TypeScript would not infer tuples, only arrays. [1, 2, 'abc'] is inferred as array i.e. (string | number)[] and NOT as tuple i.e. [number, number, string]. I hope this misinformation could be corrected. But your series of videos is really helpful nevertheless, thanks for doing this.

robovirtuoso
Автор

isnt let [a, b] = [1, 2]; actually a de-structured assignment?

irlshrek
visit shbcf.ru