Welcoming 2024, with Hitesh Sir Videos!!!! Completed the js and react series, after this ts series will start your backend series!!!! You're a GEM sir!!! Loooooots of Love and Respect to you!!!!
Because _id is an array, we can modify the elements within the array (like adding or changing elements), but we can't reassign _id itself to a new array.
in case of arrays, we can still change the contents of the array because it is of reference type, ie, the variable holds the reference to the array and not the array values itself, so until the reference is the same we can do anything with the array.
In case of readonly arrays we can't assign it another array but can push a value and even change the value by indexing. I did it and typescript didn't gave me any error
Welcoming 2024, with Hitesh Sir Videos!!!!
Completed the js and react series, after this ts series will start your backend series!!!!
You're a GEM sir!!! Loooooots of Love and Respect to you!!!!
In case of array if we have to make array readonly then we have to use readonly 2 times
for example:
readonly scores : readonly numbers[]
Because _id is an array, we can modify the elements within the array (like adding or changing elements), but we can't reassign _id itself to a new array.
4:11 answer: If _id would be an array, we can push values into it
in case of arrays, we can still change the contents of the array because it is of reference type, ie, the variable holds the reference to the array and not the array values itself, so until the reference is the same we can do anything with the array.
In case of readonly arrays we can't assign it another array but can push a value and even change the value by indexing. I did it and typescript didn't gave me any error
he said subscribe and the subscribe button just glowed up
in case in readonly we cannont assign new array to that array but we can push value in that array.
Making progress with Hitesh Sir in Typescript 💖
Sir can we create movable devices cluster in python plz reply me
4:14 NO
yes we can push the values to the array readonly property
incase of arrays, if it is assigned readonly, we can't really push the elements into the array
Yes, we could push values to id array even in case of READONLY.
if id is array we can push the value in it regardless it readonly
4:13 Yes we can push values if the type of _id is array and we can replace a particular value as well
great work
yes, we can push to a readonly array
Hello sir! Sir can we create a moviable devices cluster in python.. sir plz reply me
great video thanks for sharing
Sir I m doing research simulation in ns3 ....I need your help .can you help me
I purchase your Course
Not able to play on Ubuntu os
I am already a subscriber.😉
Hello Sir I like this video sir and explanation also sir
Great 👍
day 2
Thank you 🧡
Your support is not good
I raised video play issue no reply yet
Present Sir...
❤❤❤❤❤❤❤
Sir give Homework like today's video So that we can have a habit of googling things and learn from self.
Powered by A.I. 🤣🤣🤣
😂😂😂😂