Skip to content
Updated Live Development: Research for live JavaScript (markdown) authored by dangoor's avatar dangoor
......@@ -372,3 +372,7 @@ These are the boundaries we have seen of Chrome's live JavaScript swapping featu
* Renaming a function
* Adding a function in a scope that has already been executed
* Adding to an object's prototype (unless you previously added to the prototype)
# What Does This Mean for the Feature? #
Without a good way to predict whether a given function will be executed again, it is very hard to predict whether a live JS edit that the user makes will have any effect. Most well-written JavaScript code today, runs in some kind of closure (the [module pattern](http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html), for example). Just being within a function body does not tell us much.