I'm trying to copy string variable to clipboard.
I could find a lot of examples that copy the values from < input > or < p > tags, But my problem in case I make a changes on variable then I want to copy it such as this example
var num1= getNum1();
var num2= getNum2();
var result = ((num1*num2)/3)-1
...//copy result value
alert("your results has been copied");