Refined Type Of

Variables & Types ยท easy

Implement `getType(value)` returning `array` for arrays, `null` for null, and otherwise the result of `typeof value`.

Learning resources

Loading...

Run your code to see results.