Array.ofintermediateconst arr = Array.of(10, 20, 30)
Array.isArray(arr) // β true
arr.length // β 3Array.of() always produces a real Array instance, verifiable with Array.isArray().
Array.of() produces a plain array. You can verify this with Array.isArray and compare its contents with .every() to confirm each element matches the expected value.
Challenge: Implement verifyOf that creates Array.of(5, 10, 15) and returns true if it deep-equals [5, 10, 15].
verifyOf() // β true