I was wondering if its possible to have one or more functions within a fun开发者_开发技巧citon like in jQuery? I need to add an inline function that performs a simple task but I really don't need it anywhere except the function I'm calling it from.
Not possible, but you could create a class with the functions you need.
精彩评论