在JS里面,怎样用For语句输出斐波那契数列的前n项?#include<stdio.h>int main(){int n,i=1double a=1,b=1scanf("%d",&n)if(n==1)printf("2023-02-22JavaScript140