Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / benchmarks / declarative / script / data / slot_complex_js.js
1 function myCustomFunction(n) {
2     var a = 1;
3     while (n > 0) {
4         a = a * n;
5         n--;
6     }
7     return a;
8 }