×

Multiple-Choice Questions

Which of the following is the correct syntax to create an empty array?

25. Which of the following is the correct syntax to create an empty array?

  1. this.arrayName = ko.observableArray();
  2. arrayName = this.observableArray();
  3. KO.arrayName = this.observableArray();

Answer: A) this.arrayName = ko.observableArray();

Explanation:

this.arrayName = ko.observableArray(); is the correct syntax to create an empty array.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.