Which two options remove the whitespace from the beginning of searchString?
Refer to the code below?
Let searchString = ‘look for this’;
Which two options remove the whitespace from the beginning of searchString? Choose 2 answers
A . searchString.trimEnd();
B . searchString.trimStart();
C . trimStart(searchString);
D . searchString.replace(/*ss*/, ‘’);
Answer: B,D
Latest JavaScript Developer I Dumps Valid Version with 144 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments