Javascript Determine If Object Is Array Mutable