Skip to content

Instantly share code, notes, and snippets.

View iskandarovBakshi's full-sized avatar
🥶

Bakshi iskandarovBakshi

🥶
View GitHub Profile
// type
function typeOf(elem) {
return {}.toString.call(elem).slice(8, -1).toLowerCase();
}
typeOf(123) //number
typeOf("123") //string
typeOf(function fn() {}) //function
typeOf({k: 123}) //object
-- phpMyAdmin SQL Dump
-- version 4.6.5.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 10, 2017 at 01:10 AM
-- Server version: 10.1.21-MariaDB
-- PHP Version: 7.1.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";