My Current Project
I'm trying to make a terminal with jsQuery that has a log retrieval function.
My Problem
I don't know how to
- Make the function use an argument instead of writing each command, one by one.
Here's my code:
RETRIEVE 1: function() {
this.echo('Log one.');
},
RETRIEVE 2: function() {
this.echo('Log two.);
}