3 ms·
I imagine the main part of the algorithm will be: weight = title.toLowerCase().indexOf("cat") < 0 ? 0 : 1000;
by rip747 11y ago
I imagine the main part of the algorithm will be:
weight = title.toLowerCase().indexOf("cat") < 0 ? 0 : 1000;
3 ms·