hello : "world" How come this is valid javascript? -


i messing around in console when typed in echo : "test" , suprised string "test" returned console.

how come valid syntax without ? in (boolean) ? trueresult : falseresult

are there possible uses except fancy way mess in console?

the echo: creating label , hence output

description

you can use label identify loop, , use break or continue statements indicate whether program should interrupt loop or continue execution.

note javascript has no goto statement, can use labels break or continue.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -