Google earth engine:calculating the NDVI from Sentinel 2

@Val can you please help me in finding tasseled cap indices for sentinel 2 data using earth engine code.