diff --git a/uni_modules/uts-tests/utssdk/Array.uts b/uni_modules/uts-tests/utssdk/Array.uts index 73a1c07ca5e2cc6c57e6a64a30af4f7cfa267039..436bfcb1e276a79d686a319ae55bb1905c374983 100644 --- a/uni_modules/uts-tests/utssdk/Array.uts +++ b/uni_modules/uts-tests/utssdk/Array.uts @@ -671,6 +671,13 @@ export function testArray() : Result { // Expected output: false // #END }) + //示例 + test("sample_create", () => { + // #TEST Array.sampleCreate + const fruits = ['Apple', 'Banana'] + console.log(fruits.length) + // #END + }) }) } \ No newline at end of file