Count() is O(n).
This can send a new developer running to the hills, as it seems like a trivial problem, however it is not. While we hope this gets addressed in the future (even in a non ideal way), there are work arounds.
Relevant Issues:
Count() is O(n).
This can send a new developer running to the hills, as it seems like a trivial problem, however it is not. While we hope this gets addressed in the future (even in a non ideal way), there are work arounds.
Relevant Issues:
| leoConfiguration.addStates([ | |
| { | |
| name: 'flicker-images', | |
| verb: "jsonp", | |
| url: 'http://api.flickr.com/services/feeds/photos_public.gne', | |
| options: [ | |
| { | |
| name: 'get ninja turtles', status: 200, | |
| data: { | |
| "items": [ |
| /* ES5 code, without classes */ | |
| var Civilian = function Civilian(name) { | |
| this.name = name; | |
| }; | |
| Civilian.prototype.danger = function () { console.log("Run away!"); }; | |
| var SuperHero = function(name, ability) { | |
| Civilian.call(this, name); // Call the super class constructor. | |
| this.ability = ability; | |
| }; |
| angular.module("fileDownload", []); |