Skip to content

Commit

Permalink
Thomas Nielsen
Browse files Browse the repository at this point in the history
  • Loading branch information
dogezen authored and thomamn committed Oct 7, 2024
1 parent 5e1c853 commit 5dd4582
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

14 changes: 7 additions & 7 deletions src/extensions/more-data-types.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
// TODO: Replace the empty string in the lines below using Javascript with the correct data types

// 1. Set this variable to be null
const nullVariable = ''
const nullVariable = null

// 2. Set this variable to be true
const trueVariable = ''
const trueVariable = true

// 2. Set this variable to be the opposite of the trueVariable (ie. false);
const falseVariable = ''
const falseVariable = false

// 3. Set this variable to be undefined
const undefinedVariable = ''
const undefinedVariable = undefined

// 4. get the typeof each of the above variables
// hint you can use typeof variable to return a string of the variable type
const typeOfTrueVariable = ''
const typeOfFalseVariable = ''
const typeOfUndefinedVariable = ''
const typeOfTrueVariable = typeof trueVariable
const typeOfFalseVariable = typeof falseVariable
const typeOfUndefinedVariable = typeof undefinedVariable

// do not edit the exported object.
module.exports = {
Expand Down

0 comments on commit 5dd4582

Please sign in to comment.