Guys Assignment jo diya jai.. Comments krke share jarrur krna🎉
@ishwarrazz1771
Жыл бұрын
Home Works Boolean program function isDivisibleBy4And8(a: number): boolean { // return a % 4 ===0 && a%8 ===0; if (a % 4 === 0 && a % 8 === 0) { return true; } else { return false; } } // fun call console.log(isDivisibleBy4And8(48)); HomeWorks BigInt let sum = bigNumber + anotherBigNumber; console.log(`Sum is ${sum}`); let difference = bigNumber - anotherBigNumber; console.log(`Difference is ${difference}`); let product = bigNumber * anotherBigNumber; console.log(`Product is ${product}`); let division = bigNumber / anotherBigNumber; console.log(`Division is ${division}`); Answer : -> [ Sum is 99079191802150916 Difference is -81064793292668934 Product is 811296384146066771921893777735675 Division is 0 ]
@Support-Phalestine
Жыл бұрын
Bro video ma CHOTI so chez ko itna lamba na kia kro jaldi samghaya kro ❤❤ otherwise love you ❤❤
@farzam7298
9 ай бұрын
l et sum = bigNumber+anotherBigNumber console.log(sum) let difference = anotherBigNumber-bigNumber console.log(difference) let product = bigNumber*anotherBigNumber console.log(product) let division = anotherBigNumber/bigNumber console.log(division)
@azurecoders
4 ай бұрын
bohat vip course ha brother thanks for hardworks and efforts. JAZAKALLAH
@mahammadali4680
Ай бұрын
Awesome
@jonnysharan4393
8 ай бұрын
type safety and type checking is helpful so use unknown above the any it has better advantage and also get the idea of type when we assign value
@jonnysharan4393
8 ай бұрын
we learned in this video about the any type and unknown type . ant type used for the type where we do not assign any type but still want to perform operation its like simple js. but it is not a good way to add cause it is not checcking type and stype safety we compromise. so for that we have unknows type to help in that . we could use unknown type and get the type safety and type checking to perfoe=rm some operation like if (type of a=== boolean) to check the type and if we talk about the type safety we could perfom methods for that type it is available or not .
@mohammadfaisalpirzada
Ай бұрын
acha hai
@PoojaGupta-pm8ok
5 ай бұрын
vedio pasand aaya isiliye like karenge hum.
@shadytiger160
Жыл бұрын
Best teacher. Best tutorial ❤
@satyam_code
Ай бұрын
♥💙
@JamalKhan-zl8lu
3 ай бұрын
Great tutorial ...
@devanshuyoo
8 ай бұрын
Badiya h
@soubhagyajigautam522
2 ай бұрын
5:45 but you didn’t declare your variable myFavNum1 with type unknown. You have not wrote let myFavNum1:unknown =55
@lokeshwarprasaddewangan3406
Жыл бұрын
Good content 🔥
@office394
Жыл бұрын
yes we want the video
@Kya_Documents_Chahiye
Жыл бұрын
Cool, I am in Bootcamp but you are always awesome
@MuhammadUsmanAli786
7 ай бұрын
Great!
@chinubiswajit
7 ай бұрын
Its Usefull
@Kreator7K
4 ай бұрын
Bro the example you said type checking is also possible with any bro
@devtyagi4481
8 ай бұрын
nice series
@jahangirkhan3747
Жыл бұрын
Also if we use any then sonar will throw major issue bcoz by default type is any only so there is no usage of typescript if we are using any.
@ThapaTechnical
Жыл бұрын
True
@neelprajapati6690
6 ай бұрын
Hi Sir Please make a video for your vs studio code. We also want vs studio code like yours.
@arbu7075
Жыл бұрын
KZitem per typescript + react js k projects bht kam he please make some!
@arbu7075
Жыл бұрын
Thapa sir react js or type script k sth kch projects bh banai please
@saicharanmuthyapwar9387
8 ай бұрын
🎉
@jagdishjena9058
11 ай бұрын
Thank you so much sir.
@user-bp2ur3bi4l
4 ай бұрын
mera bigint ka output nahi aa raha.
@tanyanagi6871
8 ай бұрын
Frome wher we can get the source code link for definition and questions?
@codingroast7500
11 ай бұрын
nice
@rohitkumar630
11 ай бұрын
nice video
@shivamsoni7974
Жыл бұрын
Bahut acha LAG RAHA HAI BHAIYA PADHNE ME BAS AISE HI PADHATE JAO BHAIYA TYPESCRIPT ME VIDEOS KITNI AAYEGI ?
@ishaanrawat9846
6 ай бұрын
bro typescript ka source code khareedna h please provide link ?
@Daily_dose_motivation29
Жыл бұрын
Mast laga bhaiya ❤❤
@sarbajitacharjee1195
7 ай бұрын
what extension used for This fancy code
@Daily_dose_motivation29
Жыл бұрын
❤❤❤
@zia429
3 ай бұрын
let a= 8%4===0 console.log(a); plz sir
@abbasjan5395
Жыл бұрын
videos are in reverse order like video number 6 is on order number 1, please correct it.
@user-rm6zp3pe7y
11 ай бұрын
which theme is this . vscode
@alikazmi1896
Жыл бұрын
parhatai easy cheezai ho aur assignment pta nhi kya dai daitai ho, jo assignment daitai ho next video mai uska solution bhi share kr diya krai ap
@web4sumit
Жыл бұрын
haa dekhana chahenge
@santoshmore2953
Жыл бұрын
When this series is going to be completed?
@ThapaTechnical
Жыл бұрын
20days
@ArshadKhan-rk9ck
Жыл бұрын
First comment
@HafizakashmalashafqatKashmalas
2 ай бұрын
program boolean function isEven(a:number):boolean{ console.log(a); return a%2==0; } let result = isEven(9); console.log(result); function isDivisibleBy(number :number):boolean { console.log(number) if (number%4==0 && number%8==0){ return true; } else{ return false; } } console.log(isDivisibleBy(16)); console.log(isDivisibleBy(32)); console.log(isDivisibleBy(20)); console.log(isDivisibleBy(7));
@nayanchauhan9999
Жыл бұрын
If else statement completely wrong
@ThapaTechnical
Жыл бұрын
It is perfectly correct Bhai. But may I know what is wrong in that?
@trashfiles3432
Жыл бұрын
@@ThapaTechnical he just do that for your replay he is big fan of you like we are
@Tausif_Khan_07
Жыл бұрын
Next 13 ki series aayegi kya
@ThapaTechnical
Жыл бұрын
after Mern Ecommerce
@AkshayTyagi1
11 ай бұрын
@ThapaTechnical Please share how to fix bigint issue error on running tsc command
@itzallabouttech3616
Жыл бұрын
Hy brother 🖐 I don't understand use of unknown kindly explain it in detail u use unknown in async await function like async function fetchDtaa(): Promise but we all know that async function always return a promise so why u use unknown and we can also check type of and we can also check type of any like let fav: any = 12; fav = true; console.log(typeof fav); so why we use unknown please explain
@adithyang6672
Жыл бұрын
Even i didnt get the same thing
@karanxdev
Жыл бұрын
I still have doubt regarding this “any vs unknown”, but the promise thing, I know that. We know the function will return promise but what type of value will promise return when resolved, so we use that in angular brackets such as . Let say there is a function which is used to get user’s address by using an api. So we can declare function as : function getUserAddress(userId:number) : Promise { … } Now if we use await, const addr:string = await getUserAdrress(10); This will work and typescript will know the datatype of resolved value. If you try to do something like, const result:number = await getUserAddress(5); Typescript will give error because you mentioned that promise will resolve to a string value, but you storing the result in a variable of type number
@karanxdev
Жыл бұрын
Also now i got the main difference between any and unknown. Just googled this, If you use following: let n:any = 7; n = n.toUpperCase(); This will not give any compile time error, but if you use following let a:unknown = 10 console.log(a.toUpperCase()) It will give compile time error, and force you to use type checking i.e let a:unknown = 10 if ( typeof a === “string”) { console.log(a.toUpperCase()) } Hope you get this
@sayshark55
Жыл бұрын
Here is an Example // this is any let apple: any = 12; apple = "hello"; apple = true; apple = 12312312; let newApple = apple + 12; // we can do it. it will work let banana: unknown = [1, 2, 3, 4, 5]; // currently for example, it is coming from api, which is unknown to us // let newBanana = banana.map((el:number) => el); // if we try to map directly, it will wont let you compile. because maybe it is null or something else. // when you got to know that it's an array only then you perform map on it, so following code will compile without error if (Array.isArray(banana)) { let newBanana = banana.map((el: number) => el); console.log("newBanana: ", newBanana); } but if you do it with any, there is no issue and you might endup with null or undefined error.
@arbu7075
Жыл бұрын
Thapa sir react js or type script k sth kch projects bh banai please
@arbu7075
Жыл бұрын
KZitem per typescript + react js k projects bht kam he please make some!
@arbu7075
Жыл бұрын
Thapa sir react js or type script k sth kch projects bh banai please
@arbu7075
Жыл бұрын
KZitem per typescript + react js k projects bht kam he please make some!
Пікірлер: 65