No in a sense, because in regards the ES6 standard, [[Primitive Value]] is an internal conversion algorithm, not a result, taking an input value to be processed and an optional argument specifying the preferred type of the returned value. The algorithm is typically used in automatic type conversion and does not always return the same data type for a given input.
[[Primitive value]] algorithms can be divided into standard and exotic. The standard approach is that by default the preferred type of result is "number" if it is not specified. Exotic algorithms, such as those implemented for Date Objects , provide their own default value for the conversion result.
Of course, converting a String object to a string data type (for example, "" + strObj) or a Number object to a numeric data type (for example + numObj) is trivial if and when necessary. In most cases, this can be done automatically for you.
source share