Skip to content

Commit

Permalink
datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
alaminsframe committed Aug 8, 2024
1 parent 7cc16af commit d2282bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
9 changes: 8 additions & 1 deletion 01.basic/datatypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@


// reference (non primitive)
// 3 types: array, object, function
// 3 types: array, object, function

//console.log(typeof Symbol('2233'))

let num1 = 2342412342134123412341234234523623565235532
let num2 = 2342412n
console.log(typeof num1)
console.log(typeof num2)
12 changes: 6 additions & 6 deletions 01.basic/first.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ let change = Number(last)
// console.log(undefined <= 0)
// console.log(undefined != 0)

console.log(null == 0)
console.log(null > 0)
console.log(null >= 0)
console.log(null < 0)
console.log(null <= 0)
console.log(null != 0)
// console.log(null == 0)
// console.log(null > 0)
// console.log(null >= 0)
// console.log(null < 0)
// console.log(null <= 0)
// console.log(null != 0)

0 comments on commit d2282bd

Please sign in to comment.