Get the App
SLTechnology News&Howtos  ›  Development  › 

What does the javascript value type refer to

Shulou Source: shulou.com Published: 2022-06-03 16:31:44 11月14日 Update

This article mainly shows you "what the javascript value type refers to". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn the article "what javascript value type refers to".

Description

1. A value type is a simple data type / basic data type, which stores the value itself in a variable in a stored procedure, so it is called a value type.

2. Five data types (value types): string, number, boolean, undefined, null.

Null is special, and the return type is object.

Example

/ / simple data type null / / returns an empty object object var empty = null; console.log (typeof empty); / / the use of null / / if a variable is defined as an object, but the assignment is uncertain, you can assign null to this variable at this time all the content of the article "what is the javascript value type", thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Types data content variables articles objects storage learning help special examples easy to understand more organization knowledge editing industry information information channels processes Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple Shulou Technology MySQL Xiaomi