javascript-questions icon indicating copy to clipboard operation
javascript-questions copied to clipboard

Question 39 -wrong type structure.

Open omgpiu opened this issue 4 years ago • 1 comments

According ECMA-262 we don't have primitive types. We have primitive values https://tc39.es/ecma262/#sec-primitive-value and types : boolean, null, undefined, bigint, number, string, symbol, object . https://tc39.es/ecma262/#sec-type (4.4.5 primitive value)

In ECMA there isn't any word about primitive types. Check it in ECMA menu 4.4

omgpiu avatar Dec 19 '21 19:12 omgpiu

I think it mentions it. It explains that a primitive value is a member of any built-in type. Built-in types are Boolean, Number, Null, Undefined, String, Bigint, Symbol...

kizob123 avatar Dec 24 '21 16:12 kizob123