getConstructor v1.0.0
Returns the constructor of a given value.
getConstructor = require "getConstructor"
getConstructor 0 # => Number
getConstructor [] # => Array
# SPECIAL CASES #
getConstructor undefined # => undefined
getConstructor null # => undefined
getConstructor NaN # => undefined
getConstructor Object.create(null) # => undefined