Front End Programmer Question:
Tell me how would you call a function directly on a string?
Answer:
See section on using prototypes to call functions on common data types in JavaScript Objects & Prototypes.
Previous Question | Next Question |
Explain how to use a function a Class? | What is the difference between JSON and JSONP? |