DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript function parameters type required
/* @flow */ function foo(x: string, y: number): string { return x.length * y; } foo('Hello', 42);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#function
#parameters
#type
#required
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit