Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typescript vs javascript

JavaScript:
function my_function(my_param) {
  console.log('do something');
}
TypeScript:
function my_function(my_param: any) {
  console.log('do something');
}
Source by learn.coderslang.com #
 
PREVIOUS NEXT
Tagged: #typescript #javascript
ADD COMMENT
Topic
Name
7+7 =