like the tiles said I wanted to know if this possible to comparre two arrays in JS ?
like I have those two function :
Game_Clock.prototype.get_time = function() { this.current_time.push(this.hour,this.min,this.sec); return this.current_time;};Game_Clock.prototype.time_condition = function(argum_hour,argum_min,argum_sec) { this._condition.push(argum_hour,argum_min,argum_sec); return this._condition;};both of them are array
so I wanted to do this
if(get_time() <= time_condition(10,10,10)){//do stuff}but Hudell told me he wasn't not sure if this was possible to do that but in a ways...it's would be logic to being able to do that since it's compare the values in order no?
like I have those two function :
Game_Clock.prototype.get_time = function() { this.current_time.push(this.hour,this.min,this.sec); return this.current_time;};Game_Clock.prototype.time_condition = function(argum_hour,argum_min,argum_sec) { this._condition.push(argum_hour,argum_min,argum_sec); return this._condition;};both of them are array
so I wanted to do this
if(get_time() <= time_condition(10,10,10)){//do stuff}but Hudell told me he wasn't not sure if this was possible to do that but in a ways...it's would be logic to being able to do that since it's compare the values in order no?