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: Answer As I understand what you need is object, key values pair: I used object instead of array, because
Tag: jquery-terminal
How to Create More Than One Command in a jQuery Terminal Environment
My Current Project I am trying to make a terminal-style webpage using jQuery Terminal. My Problem I cannot figure out how to add more than one command to the terminal. Here’s my code: Answer Just add more properties to the first argument. If you type add 10 15 it will print 25.