- Trending Categories
- Data Structure
- Operating System
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Let’s say the following is our object −
You can use split() on the basis of space.
Following is the code −
To run the above program, use the following command −
Here, my file name is demo244.js.
Following is the output on console −
- Python program to capitalize each word's first letter
- Output only the first word from select list value - jQuery?
- How to find only Monday's date with Python?