You are not logged in.

#1 2017-12-08 05:08:18

shakeel123
User RankUser RankUser RankUser RankUser RankUser Rank
Moderator
Registered: 2017-09-21
Posts: 50,796

What is the code to be used to trim whitespaces?

Software Engineering Exams Quizzes MCQs Quizzes JavaScript Online MCQs Test

Question:
What is the code to be used to trim whitespaces?

Option A):
let trimmed = for(l in lines));
Option B):
let trimmed = (trim(l));
Option C):
let trimmed = l.trim();
Option D):
let trimmed = (l.trim() for (l in lines));

Correct Answer is Option D):
let trimmed = (l.trim() for (l in lines));


Top Exams Quizzes MCQs And Interview Questions With Answers Forum:
http://www.globalguideline.com/forum/

2017-12-08 05:08:18

Advertisement
Ads By Google

Re: What is the code to be used to trim whitespaces?



Board footer