Impor fungsi dari modul di JavaScript


export const add = (x, y) => {
    return x + y
}


	import {add} from '/javascripts/test.js';
	
	window.onload = function()
	{
		
	console.log(add(1, 1));
	}
    
    /*returns 2*/
Javasper