mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Rename ES2015Transpilation sample to NodeServicesExamples (because will be adding some more examples here)
This commit is contained in:
7
samples/misc/NodeServicesExamples/wwwroot/js/main.js
Normal file
7
samples/misc/NodeServicesExamples/wwwroot/js/main.js
Normal file
@@ -0,0 +1,7 @@
|
||||
class Greeting {
|
||||
getMessage() {
|
||||
return 'Hello from the ES2015 class';
|
||||
}
|
||||
}
|
||||
|
||||
console.log(new Greeting().getMessage());
|
||||
Reference in New Issue
Block a user