Тёмный

#13: TypeScript Objects Explained: Everything You Need to Know with Real Life Example 

Thapa Technical
Подписаться 692 тыс.
Просмотров 12 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@rishabh92111
@rishabh92111 Год назад
Please do not get demotivated from the likes and views you are getting now , keep making cool and useful videos for us . ❤❤❤❤❤❤❤❤❤❤❤❤❤
@ThapaTechnical
@ThapaTechnical Год назад
Wow, thank you so much 💓 I really need this 😊 SURE i will..
@sumitgoyal385
@sumitgoyal385 Год назад
​@@ThapaTechnicalthanks for all hard work
@vivekparde2022
@vivekparde2022 Год назад
​@@ThapaTechnical thanks sir❤
@wahajmughal5954
@wahajmughal5954 4 месяца назад
you are great explain all things and clear my all concepts i watch your videos from pakistan
@sachingupta_ec0414
@sachingupta_ec0414 3 месяца назад
OSM ! , Thapa sir , do create video like this .
@zahidsham7208
@zahidsham7208 4 месяца назад
I am from Pakistan ...after watching this video ,I am your new subscriber...great work...keep it up
@MONSTERGaming-un4zd
@MONSTERGaming-un4zd 10 месяцев назад
Thank you🙏🙏
@rameshkushwahamobile
@rameshkushwahamobile Год назад
Sir kya abhi ham css me nesting Selector ka use karke projects bana sakte hai
@Daily_dose_motivation29
@Daily_dose_motivation29 Год назад
Op bhaiya maja aagya❤❤❤🎉
@sufiyanpatel6241
@sufiyanpatel6241 Год назад
Amazing Video 👏
@abidtech007
@abidtech007 Год назад
Thank you thapa sir Your efforts are countless it's amazing I can say that No one have better methods than you Sir please sir mujhy job get krny ka koi tariqa btaien
@ansumandas554
@ansumandas554 Год назад
const obj:{ name: string; price: number; quantity: number } = { name: "Mobile Cover", price: 200, quantity: 3 }
@satyam_code
@satyam_code 2 месяца назад
Sir, your payment gateway is not working, it simply redirects to download without payment
@DEEPANSHU_NAG
@DEEPANSHU_NAG Год назад
const product:{ name:string, price:number, quantity:number }={ name: "Kitkat", price: 10, quantity: 10 } And *_THANK YOU So Much_* 🙏🏻 for calling my name
@HassanKhan-ib6qe
@HassanKhan-ib6qe 5 месяцев назад
const product: { name: string; price: number; quantity: number; } = { name: "Mobile", price: 200000, quantity: 20, }
@sahersaleem123
@sahersaleem123 7 месяцев назад
Thankyou you are great 👍😊 ~from 🇵🇰Pakistan
@MuhammadAli-nz5cm
@MuhammadAli-nz5cm 7 месяцев назад
are you in governor initiative anf=d that's why learning typescript ?
@sahersaleem123
@sahersaleem123 7 месяцев назад
@@MuhammadAli-nz5cm yesss !
@saranshgoyal650
@saranshgoyal650 5 месяцев назад
example me object declaration me comma h instead of semicolon
@zahidsham7208
@zahidsham7208 4 месяца назад
const product:{ name : string; price : number; quantity : number; }={ name : "Dell", price : 45000, quantity : 2, }
@amitabhghosh5111
@amitabhghosh5111 Год назад
//here we have create an object with properties as variable and fuction also var person = { firstName:"Tom", lastName:"Hanks", sayHello:function() { } //Type template } person.sayHello = function() { console.log("hello "+person.firstName) } person.sayHello()
@akshaygaikwad2911
@akshaygaikwad2911 8 месяцев назад
sir source codes kya hai? and iska use kya hai ?
@mr.dramas1510
@mr.dramas1510 Год назад
Bro typescript ki kitni videos rah gaye
@sumitgoyal385
@sumitgoyal385 Год назад
thanku tumhare hi channel se padhraha hu or kai ni jauga thanks
@myhobby1599
@myhobby1599 4 месяца назад
const product: { name:string; price:number; quantity:number; }={ name: "book", price: 50, quantity: 3, } console.log(product);
@nayyarabbas4482
@nayyarabbas4482 Год назад
const product: { name: string; price: number; quantity: number } = { name: "Laptop", price: 1000, quantity: 5 }
@sindhiaayaz5621
@sindhiaayaz5621 2 месяца назад
how to share homework
@rao7866
@rao7866 5 месяцев назад
interface product { name: string; price: number; quantity: number; } const product: product = { name: "Bike", price: 120000, quantity: 1, };
@subhomoypal7982
@subhomoypal7982 Год назад
//Task const product: { name: string; price: number; quantity: number; } = { name: "Laptop", price: 1000, quantity: 5 }
@nehasharma2341
@nehasharma2341 Год назад
ecommerce website pleasee!!🥺🥺
@IshanSingh360
@IshanSingh360 7 месяцев назад
HOME WORK const product: { name: string; price: number; Quantity: number; } = { name: "Laptop", price: 1000, Quantity: 5, };
@subhomoypal7982
@subhomoypal7982 Год назад
Please sir demotivated na hoiea typescript future ha jab samjaga lok apna ap i jiaga
@satyam_code
@satyam_code 2 месяца назад
💜💜
@codeinw3school
@codeinw3school 2 месяца назад
3:00 koi burai nahi hai
@1saurabh352
@1saurabh352 2 месяца назад
const product:{ name:string, price:number, Quntity:number }= { name:'laptop', price:10000, Quntity:5 } console.log(product)
@AliHamza-ed7qc
@AliHamza-ed7qc Год назад
Antd design
@muneeba.26
@muneeba.26 2 месяца назад
let product :{ name:string; price:number; quantity:number; specification:{rom:number;camera:string;ram:number}; }={ name: "ipone 6", price: 36, quantity: 1, specification:{rom:128,ram:1,camera:"8MP"} } let{name,price,quantity,specification:{rom,ram,camera}}=product; console.log(`The product is ${name}, price is ${price}thousand, quantity is ${quantity}. It has ${rom} GB ROM, ${camera} camera, and ${ram} GB RAM.`);
@magicuitheme
@magicuitheme Месяц назад
//! In TypeScript interface Address { city: string; country: string; } interface Person { name: string; age: number; isStudent: boolean; address: Address; } const person: Person = { name: "rahul", age: 25, isStudent: true, address: { city: "patna", country: "india", }, };
@shahhussain7192
@shahhussain7192 2 месяца назад
let product :{ name:string; price:number; quantity:number; } = { name: 'Pen', price: 20, quantity: 100 } console.log(product.name); console.log(product.price); console.log(product.quantity );
@danum7182
@danum7182 7 месяцев назад
let data = ["Akshay", "Anand", "Rakshith"]; const filteredData = data.filter((op) => op[0] !== "A"); console.log(filteredData);
@ramzanchaudhry3999
@ramzanchaudhry3999 Год назад
const product:{ name:string, price:number, quality:number }={ name:'iPhone', price:5000, quality:9, } console.log(product.name);
@mahesh1989mah
@mahesh1989mah 4 месяца назад
const product: { name: string; price: number; quantity: number; } = { name: "Laptop", price: 50000, quantity: 5, }; console.log(product);
@just_jahi23
@just_jahi23 Год назад
Sir mujhe source code chahiye Is video ka ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qEm2bZZdMsE.html Please sir
@amitabhghosh5111
@amitabhghosh5111 Год назад
let product : { name : string; price : string; Quantity : string; SKU ? : number } product = { name : "LenovoThinkPad", price : "$120", Quantity : "2" } console.log(product.name);
@terabapaya556
@terabapaya556 Год назад
let product: { name: string; price: number; quantity: number; } = { name: "Laptop", price: 1000, quantity: 5, }; console.log(product.name); console.log(product.price); console.log(product.quantity);
@chinubiswajit
@chinubiswajit 7 месяцев назад
console.log(person.address.country); var product = { name: "Laptop", price: 70000, quality: 5 }; console.log(product.price);
@ethicalislam786
@ethicalislam786 3 месяца назад
const product :{ name:string; price:number; quantity: number } ={ name:"bag", price:3000, quantity:5 } console.log(product);
Далее
Bad behaviour of objects in typescript
9:48
Просмотров 23 тыс.
TypeScript Generics are EASY once you know this
22:21
Просмотров 138 тыс.
Laravel vs Rails for Javascript developers
19:50
Просмотров 3,9 тыс.
Why use Type and not Interface in TypeScript
14:12
Просмотров 208 тыс.
5 JavaScript Mistakes Every Beginner Must Avoid 🔥
10:56