If you have an array and assign it in another variable. And push one element in assigned variable.
Var arrayA = [a,b,c,d];
Var arrayB = arrayA;
arrayA.push(m);
console.log(arrayB);
a,b,c,d,m
Array Operations
2. We have a software selling as a service
2. We have a software selling as a service
to different client. Every client should see a welcome message prior to login.
3. We have an application which has the capability of 100 tps(transaction per second) but recently it is getting 1000 tps. How will you handle that without doing vertical and horizontal scaling.
4. Count the character t in a string in SQL server.
declare @t nvarchar(max)set @t='aaaa'select len(@t)-len(replace(@t,'a','')
No comments:
Post a Comment