WLJS LogoWLJS Notebook

Clear

Clear[s1, s2, ...] clears values and definitions for the symbols.

Examples

Clear a variable:

x = 5;
Clear[x]
x
(* x *)

Clear multiple symbols:

Clear[f, g, h]

Please visit the official Wolfram Language Reference for more details.

On this page