/**
 * @author paula
 */
function A(name){
    this.name = name;
    this.sayHi();
    this.$sayHi();
    this.sayBye();
};
(function(){
    this.sayHi = function(){
        console.log("[sayHi] Hi there, "+ this.name);
    };
    this.$sayHi = function(){
        console.log("[$sayHi] Hi there, " + this.name);
    };
    this.sayBye = function(){
        console.log("[sayBye] Bye bye now, " + this.name);
    };
}).call(A.prototype);
var objA1 = new A("Luca");
Found this article: javascript.crockford.com/code.html where is mentioned that "Do not use $ (dollar sign) or \ (backslash) in names. Most variables and functions should start with a lower case letter"
I have some framework code with many functions prefixed with dollar sign (functions that look similar to $sayHi). Is a function prefixed with $ intended to be used for special purposes ? Thanks.
 
     
     
    