Created
March 30, 2019 09:41
-
-
Save beardlessman/6ca41ef29939ecf430f8a2209cfeb1a2 to your computer and use it in GitHub Desktop.
Возвращает класс объекта
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const classof = object => Object.prototype.toString.call(object).slice(8, -1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment