Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit 3d77920

Browse files
lalov1scissorsneedfoodtoo
authored andcommitted
fix(challenges): a sentence didn't make sense, so I modified it
ISSUES CLOSED: #18046
1 parent c022dff commit 3d77920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/02-javascript-algorithms-and-data-structures/debugging.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"id": "587d7b84367417b2b2512b34",
118118
"title": "Use typeof to Check the Type of a Variable",
119119
"description": [
120-
"You can use <code>typeof</code> to check the data structure, or type, of a variable. This is useful in debugging when working with multiple data types. If you think you're adding two numbers, but one is actually a string, the results can be unexpected. Type errors can lurk in calculations or function calls. Especially take care when you're accessing and working with external data in the form of a JavaScript object (JSON).",
120+
"You can use <code>typeof</code> to check the data structure, or type, of a variable. This is useful in debugging when working with multiple data types. If you think you're adding two numbers, but one is actually a string, the results can be unexpected. Type errors can lurk in calculations or function calls. Be careful especially when you're accessing and working with external data in the form of a JavaScript Object Notation (JSON) object.",
121121
"Here are some examples using <code>typeof</code>:",
122122
"<blockquote>console.log(typeof \"\"); // outputs \"string\"<br>console.log(typeof 0); // outputs \"number\"<br>console.log(typeof []); // outputs \"object\"<br>console.log(typeof {}); // outputs \"object\"</blockquote>",
123123
"JavaScript recognizes six primitive (immutable) data types: <code>Boolean</code>, <code>Null</code>, <code>Undefined</code>, <code>Number</code>, <code>String</code>, and <code>Symbol</code> (new with ES6) and one type for mutable items: <code>Object</code>. Note that in JavaScript, arrays are technically a type of object.",

0 commit comments

Comments
 (0)