Difference between revisions of "User:Kevinly/common.js"

From Course Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
importScript('User:Kevinly/hello-world.js');
 
importScript('User:Kevinly/hello-world.js');
  
console.log('hello there');
+
$(document).ready( function () {
 
+
    console.log('hi');
x = 2;
+
} );
 
+
console.log(x);
+

Latest revision as of 22:46, 14 October 2022

importScript('User:Kevinly/hello-world.js');
 
$(document).ready( function () {
    console.log('hi');
} );