0

can you help me how can I solve this lesson , in ES6 4 quetiones ?

Fill in the blanks to import the following from "util/calc.js": export const hit = (x, y, z) => { return x * y + z / 2; } export const degree = 50; * calc from "util/calc"; calc.hit(1, 2, calc.degree);

30th Aug 2019, 4:20 AM
Tonito Dias Sumbelelo
Tonito Dias Sumbelelo - avatar
6 Respostas
+ 7
import as
6th Dec 2020, 2:16 PM
Blake Karels
Blake Karels - avatar
+ 3
import * as
5th Apr 2022, 1:52 PM
Solahudeen Abdulrahmon
Solahudeen Abdulrahmon - avatar
+ 1
Fill in the blanks to import the following from "util/calc.js": export const hit = (x, y, z) => { return x * y + z / 2; } export const degree = 50; import * as calc from "util/calc"; calc.hit(1, 2, calc.degree);
4th Jun 2022, 10:04 PM
Erhan TEZER
0
If you want to import hit Import {hit} from "util/calc.js" If it's degree Import {degree} from "util/calc.js" It's a good standard of importing
30th Aug 2019, 5:29 AM
Qudusayo
Qudusayo - avatar
0
import as
5th Aug 2022, 3:39 PM
Islom To'ychiyev
0
Fill in the blanks to import the following from "util/calc.js": export const hit = (x, y, z) => { return x * y + z / 2; } export const degree = 50; JS .......... *.......... calc from "util/calc"; calc.hit(1, 2, calc.degree); answeris :- import * as
10th Mar 2023, 6:53 PM
Krishn Kant Sharma
Krishn Kant Sharma - avatar