Is there any tool that enables you to \"hot swap\" JavaScript contents while executing a webpage?
I am looking for something similar to what HotSpot does for Java,
If you want to do this with entire JavaScript files, see this question for something similar enough that you should be able to get the basics of the idea.