If I Disallow: Java Script In Robots.txt, Does It Affect In My Ranking

If I Disallow: Java Script, CSS In Robots.txt, Does It Affect In My Ranking?