in the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/import-a-default-export
my code
"use strict";
import subtract from "math_functions"
subtract(7,4);
this runs correctly without use of semicolon
but in the previous problem
my code
import * as yoo from "capitalize_strings"
"use strict";
this does not run,if i place semicolon at end then it runs.
i don’t understand how semicolon is used in js.i have declared many functions in js without semicolon and it works well.