import StateContext from "./StateContext" ; const stateContext = new StateContext ( ) ; stateContext . writeName ( "monday" ) ; stateContext . writeName ( "tuesday" ) ; stateContext . writeName ( "wednesday" ) ; stateContext . writeName ( "thursday" ) ; stateContext . writeName ( "friday" ) ; stateContext . writeName ( "saturday" ) ; stateContext . writeName ( "sunday" ) ;