I'm studying the following code, but having trouble understand the keyword this.
Is the "this" in e.stunHost && this.init() the same as init: function() { this.answer = "" }
Thanks.
The following code is stripped from a module about RrcPeerConnection.
define("WebRtcPeer", ["jquery", "Logger"], function(e, t) {
"use strict";
var i = function(e) {
e.stunHost && this.init()
};
return i.prototype = {
stunHost: null,
init: function() {
this.answer = ""
}
});