From fea5bea3c30985d36ea8b60af0aa7a41ec970de0 Mon Sep 17 00:00:00 2001 From: MANISH-GIRI Date: Fri, 14 Apr 2017 19:30:38 -0400 Subject: [PATCH] Update variable in typed arrays --- .../coding-interview-data-structure-questions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json b/seed/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json index 0e3d93ec33..eb22918c63 100644 --- a/seed/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json +++ b/seed/challenges/08-coding-interview-questions-and-take-home-assignments/coding-interview-data-structure-questions.json @@ -23,7 +23,7 @@ "
i8View[0] = 42;
console.log(i8View); // Returns [42, 0, 0]
", "Note
Typed arrays do not have some of the methods traditional arrays have such as .pop() or .push(). Typed arrays also fail Array.isArray() that checks if something is an array. Although simpler, this can be an advantage for less-sophisticated JavaScript engines to implement them.", "
", - "First create a buffer that is 64-bytes. Then create a Int32Array typed array with a view of it called int32View." + "First create a buffer that is 64-bytes. Then create a Int32Array typed array with a view of it called i32View." ], "challengeSeed": [ "var buffer;",