Why no error if i use method of other object ?

var objA = {
funcA : function() {
}
}

var objB = {
funcB : function() {
}
}

objB.funcA(); // Why no warning and no error in phpStorm ?

how can I get the editor to tell me that there's a problem?

1

Please sign in to leave a comment.