Skip to content

Commit d67929c

Browse files
author
Lim
authored
Updated article.md (better sentence flow)
BEFORE "3. When this happens, a special “object wrapper” IS CREATED that provides the extra functionality, and then is destroyed." AFTER "3. When this happens, a special “object wrapper” that provides the extra functionality IS CREATED, and then is destroyed."
1 parent 092f739 commit d67929c

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/01-primitives-methods

1 file changed

+1
-1
lines changed

1-js/05-data-types/01-primitives-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The solution looks a little bit awkward, but here it is:
4848

4949
1. Primitives are still primitive. A single value, as desired.
5050
2. The language allows access to methods and properties of strings, numbers, booleans and symbols.
51-
3. When this happens, a special "object wrapper" is created that provides the extra functionality, and then is destroyed.
51+
3. When this happens, a special "object wrapper" that provides the extra functionality is created, and then is destroyed.
5252

5353
The "object wrappers" are different for each primitive type and are called: `String`, `Number`, `Boolean` and `Symbol`. Thus, they provide different sets of methods.
5454

0 commit comments

Comments
 (0)