A specification often refers to a set of documented requirements to be satisfied by a material, design, product, or service. A specification is often a type of technical standard.
Modern libraries and frameworks often have a documentation that contains detailed explanations and code examples on how to use the library or framework. Examples include the ReactJS documentation and VueJS documentation.
The specification is really technical and it’s meant to be used by browser vendors or server side applications that implement the language but, at times you might run into a coding problem and the spec might be the only thing that will provide an answer for you or at least give you an overview of what's going on under the hood.
From a beginners point of view you won't need to look at the specification but, as you progress in your coding career with enough experience the specification can come in really handy.
Reading and understanding the specification is not an easy thing unless you have an understanding of algorithms and can comprehend the Backus-Naur Form but there is help around the corner.
Timothy Gu created a living document titled — How to read the EcmaScript Specification.
Now you might ask: If its not meant for beginners why mention it?
I mentioned it so that you'll know when and how to find help when you can not express yourself to a search engine or a question and answer platform like Stackoverflow.
Up next, a quick introduction to programming.