Hello,

I am currently creating a javascript refactoring framework in clojurescript. Because Javascript is a dynamic language and has no static type info I've used an points-to analysis to infer type info from the source code. Now I'm looking for good refactorings that people using Javascript need. For example I already have the Rename and Encapsulatye property which will create a local variable instead of properties of an objects and also create the necessary getters/setter methods.
Now I am wondering what kind of other refactorings the Javascript developpers need?

Thanks in advance.

How about turning an anonymous function into a method/function? You start out with an anonymous one, to find out later you need it somewhere else too.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.