Javascript: isFunctions (Part 2)

Javascript: isFunctions (Part 2)

5. isUndefined

Hàm này ki?m tra xem giá tr? có ph?i là undefined hay kh?ng.


6. isObject

Hàm này ki?m tra xem giá tr? có thu?c ki?u 'object' nh?ng kh?ng ph?i là null, b?i vì null th?c t? là thu?c ki?u 'object'.


7. isArray

Hàm này ki?m tra xem giá tr? có ph?i là m?t m?ng hay kh?ng.



8. isNull

Hàm này ki?m tra xem giá tr? có ph?i là null hay kh?ng.


9. isFiniteNumber

Hàm này ??m b?o r?ng giá tr? là m?t s? h?u h?n, lo?i tr? Infinity và -Infinity.



Cao Thanh Nam

??Database Optimization at Wecommit with Database Development expertise

5 个月

good post! ??

回复

要查看或添加评论,请登录

Thi?u Quang Khoa的更多文章

  • JavaScript Interview Questions (Part 4)

    JavaScript Interview Questions (Part 4)

    61 What are the main rules of promise 62 What is callback in callback 63 What is promise chaining 64 What is…

  • JavaScript Interview Questions (Part 3)

    JavaScript Interview Questions (Part 3)

    41 What are the differences between cookie, local storage and session storage 42 What is the main difference between…

  • Top 400 JavaScript Interview Questions (Part 2)

    Top 400 JavaScript Interview Questions (Part 2)

    21 What is the Temporal Dead Zone 22 What is an IIFE (Immediately Invoked Function Expression) 23 How do you decode or…

  • Top 400 JavaScript Interview Questions (Part 1)

    Top 400 JavaScript Interview Questions (Part 1)

    No. Questions 1 What are the possible ways to create objects in JavaScript 2 What is a prototype chain 3 What is the…

  • Javascript: isFunctions (Part 1)

    Javascript: isFunctions (Part 1)

    1. isNumber Hàm này ki?m tra xem giá tr? có thu?c ki?u và kh?ng ph?i là hay kh?ng.

    2 条评论
  • Javascript Interview Questions

    Javascript Interview Questions

    5 features of javascript What is DOM? Data types in javascript? Difference between let, var, const Difference between…

  • JavaScript Reversed Words

    JavaScript Reversed Words

    All Javascript Reserved Keywords The below list cannot be used as variable names, as they are reserved keywords. Most…

  • Using parseInt() and toString() for conversions

    Using parseInt() and toString() for conversions

    Trong JavaScript, vi?c chuy?n ??i gi?a các ??nh d?ng s? là m?t tác v? ph? bi?n, và có nhi?u ph??ng pháp ?? th?c hi?n…

  • Javascript: Splice vs Slice

    Javascript: Splice vs Slice

    Trong JavaScript, splice và slice là hai ph??ng th?c ???c s? d?ng ?? làm vi?c v?i m?ng, nh?ng chúng có m?c ?ích và cách…

  • JavaScript Events

    JavaScript Events

    Các s? ki?n HTML là nh?ng "vi?c" x?y ra ??i v?i các ph?n t? HTML. Khi JavaScript ???c s? d?ng trong các trang HTML…