fix typeof wording
This commit is contained in:
@ -28,9 +28,9 @@
|
|||||||
"title":"Using typeof",
|
"title":"Using typeof",
|
||||||
"difficulty":0,
|
"difficulty":0,
|
||||||
"description":[
|
"description":[
|
||||||
"<code>typeof</code> is a useful method that we can use to check the type of a variable.",
|
"You can use <code>typeof</code> to check the <code>data structure</code>, or type, of a variable.",
|
||||||
"One thing to be careful of is that an array has the type objects.",
|
"Note that in JavaScript, arrays are technically a type of object.",
|
||||||
"Try using each of these to see the types they have.",
|
"Try using <code>typeof</code> on each of the following to see which types they have.",
|
||||||
"<code>console.log(typeof(\"\"));</code>",
|
"<code>console.log(typeof(\"\"));</code>",
|
||||||
"<code>console.log(typeof(0));</code>",
|
"<code>console.log(typeof(0));</code>",
|
||||||
"<code>console.log(typeof([]));</code>",
|
"<code>console.log(typeof([]));</code>",
|
||||||
|
Reference in New Issue
Block a user