Inline Table Valued Function Example In Javascript