"concat" method for concatinating to strings, trimEnd and trimStart for removing spaces from end and start respectively let str1 = " sagar "; let str2 = "patel" console.log(str1.concat(str2)); console.log(str1); console.log(str1.trim()); console.log(str1.trimEnd()); console.log(str1.trimStart()); thankyou for the informative content.
@punitsheoran3161 Жыл бұрын
Great work bhayia ji Really thanks
@yashkumarjani Жыл бұрын
Hi Anil Sidhu, you are an amazing teacher. I'm learning many things from your videos... Love you sir ❤
@FuksssJonny Жыл бұрын
Hi my 💕😘
@soumyaranjan69462 жыл бұрын
Very helpful contact sir. If you can share some frequently asked coding questions & optimal way to solve this basically from array & string, it will help a lot .
@shivanisoni48732 жыл бұрын
Thankyou sir for these videos it's very helpful for clearing all basics concept of javascript
@VishalYadav-qh1oq Жыл бұрын
Thanks Sir For making the videos on interview questions also please make video on javaScript array interview questions
@dipikasaindane55582 жыл бұрын
For left str.trimStart and right trimEnd
@g.pavani52752 жыл бұрын
Bro please make a video on interview questions on array as soon as possible it will be a great help ...
@dilipbaghel95352 жыл бұрын
Very useful video sir I tried all your JS interview question by myself, please upload more videos on different topics also
@codestepbystep2 жыл бұрын
Thank you, I will
@RajYadav-yh7vv2 жыл бұрын
make advanced interview questions like how to handle nested objects, arrays or comparison etc
@sukhjindersidhu3192 жыл бұрын
👍👍very helpful ☺️
@ArjunKiLife192 жыл бұрын
Sir ese hi array k upper, object k upper, times, math , all loops ka alag alag video banana interview questions ke upper 🙌🙌🙌
@saveenjangra19002 жыл бұрын
Detail study k liye...koi book jo dsa javascript main ho...plz reply
@gulrezeqbal30482 жыл бұрын
plz make more videos like that
@lingarajhiroli9652 жыл бұрын
Bro please make video on linked list with functional components
@MohitKumar-nf5jn2 жыл бұрын
Sir please, can you make video of linked list with functional and thank you 🙏
@amirrahman853 Жыл бұрын
agar string operations regex ke jage split replace etc operator use karke koi interview pe select kar raha hai toh samajh jao apka personality test kar raha hai coding se ghanta fark nai parta . coding k basis me yeh methods scalable hi nai hai Regex is scalable learn that for string manipulations and for tiny string operations use these methods only. Regex is specifically made for such tasks don't start with built in operators give some time to understand regex and think on that way , as a beginner i also started with built in functions these are too easy to understand and keep you away from using regex but using Regex is ideal to parse strings . hope this will encourage you to try regex
@sahilthummar82372 жыл бұрын
Sir aur video aanewale he???
@codestepbystep2 жыл бұрын
Interview questions aate rhege bhai
@sahilthummar82372 жыл бұрын
@@codestepbystep thank you helpful videos banane ke liye
@g.pavani52752 жыл бұрын
@@codestepbystep bro make questions on array as well
@websiteaudit2 жыл бұрын
@@codestepbystep make a video api call using axios and showing data on table and filtering data responsive also
@rakhamajighagare Жыл бұрын
can we convert String “110a” to integer?
@siddharthsingh913 Жыл бұрын
Yes, it will be NaN. NaN is a special number.
@saurabhu64582 жыл бұрын
Upload all sorting algorithms
@akadeadahot70676 ай бұрын
Itne easy hone ke bavajud maine JavaScript mai code nahi kiye the toh yadd nahi aa rahe the function konse java vale hai n konse JavaScript vale 2 interview gaye mere ussi chakkar maii
@coder-webdev59072 жыл бұрын
Somebody help me in this problem Please write solution in javascript Write a function called do_allocation(number_of_people, number_of_buses) The function should return a list of number of people who can get into the next bus that comes in based on the following logic: Each bus’s capacity is the sum of the capacities of the previous two buses. Once all the people get in, then the buses can continue, but will have 0 people inside it. This is the case when the number of people are less and there are more buses. So after all the people are already boarded, then the remaining buses will have 0 people boarding. The output of the function is an array/list with the same length as number_of_buses. The total of this output array/list should be less than or equal to the number_of_people. The first bus’ capacity can be set to 1 by default. E.g. Def do_allocation(number_of_people, number_of_buses): …. Your code…. Return array[number of people got into first bus, number of people got into second bus, …. , number of people who got into last bus]
@siddharthsingh913 Жыл бұрын
Looks like fibonacci series to me, but you have to also check the remaining number of people in each iteration. function do_allocation(people, buses){ let result = [ ]; let remainingPeople = people; for(let i = 0; i < buses; i++){ if( remaingingPeople capacity) result.push(capacity); else result.push(remainingPeople); remainingPeople -= capacity; } } return result; }
@AjeetYadav-uz2ey7 ай бұрын
//? remove extra space from left only console.log(str.trimStart()); //? remove extra space from right only console.log(str.trimEnd());
@sourabhrai88272 жыл бұрын
Good night sir
@hamudxd94975 ай бұрын
❤
@AttackModeGaming2 жыл бұрын
❤❤❤
@kumawatnaresh34512 жыл бұрын
Good night
@rihaanaggarwal15762 жыл бұрын
1.) Concat two strings : str1.concat(str2) 2.) Trim left : str1.trimLeft() 3.) Trim right : str1.trimRight()