Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.36 KB

File metadata and controls

58 lines (42 loc) · 1.36 KB
title logoImg theme transition highlightTheme slideNumber enableChalkboard enableMenu loop
Non-Primitive Data Types
night
slide
monokai
true
false
false
true
<style> .line.focus{background:none;font-size: xx-large;color: #5cc4ea;} </style>

Non-Primitive Types

const vObjectObj = {
  property: "Value"
}

const vArrayObject = [
  1, 
  2.1, 
  "string",
]

function functionObject(params) {}

async function functionAsync(params) {}

class ClassObj {}  

This is an [Object Object]. {.fragment .current-only data-code-focus=1-3}

The Name is "property" and Value is "Value" . {.fragment .current-only data-code-focus=2-2}

This is an [Array Object]. {.fragment .current-only data-code-focus=5-9}

This is an Function Object. {.fragment .current-only data-code-focus=11-11}

This is an Async Function Object, which returns a promise. {.fragment .current-only data-code-focus=13-13}

This is an Class, which is syntac "sugar" for a function. {.fragment .current-only data-code-focus=15-15}