Back to functions

nerdamer.flush


flush

Clears all stored expressions.;


Usage: nerdamer.flush()


Parameters

none This function takes no parameters

EXAMPLES:
var x = nerdamer('x*x');
console.log(nerdamer.expressions());
nerdamer.flush(); //clear all expressions
console.log(nerdamer.expressions());
OUTPUT:
Back to functions