mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 11:30:58 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
8 lines
242 B
JavaScript
8 lines
242 B
JavaScript
export var slice = Array.prototype.slice;
|
|
|
|
export default function(x) {
|
|
return typeof x === "object" && "length" in x
|
|
? x // Array, TypedArray, NodeList, array-like
|
|
: Array.from(x); // Map, Set, iterable, string, or anything else
|
|
}
|